[Mesa-dev] [PATCH 3/5] egl_dri2: Refactor dereference of dri2_ctx_shared

Kristian Høgsberg krh at bitplanet.net
Fri Aug 3 18:40:01 PDT 2012


On Fri, Aug 3, 2012 at 2:58 PM, Chad Versace
<chad.versace at linux.intel.com> wrote:
> On 08/01/2012 05:21 PM, Ian Romanick wrote:
>> From: Ian Romanick <ian.d.romanick at intel.com>
>>
>> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
>> Cc: Kristian Høgsberg <krh at bitplanet.net>
>> Cc: Matt Turner <mattst88 at gmail.com>
>> ---
>>  src/egl/drivers/dri2/egl_dri2.c |   11 +++++------
>>  1 files changed, 5 insertions(+), 6 deletions(-)
>
> Personally, I prefer the const. Anway, with or without the const, this is

Sure, but my point was that coding style is not about personal
preference.  This use of const sticks out against the rest of the
code.

Kristian


More information about the mesa-dev mailing list