summaryrefslogtreecommitdiffstats
path: root/src/mesa/Android.gen.mk
diff options
context:
space:
mode:
authorJohn Sheu <[email protected]>2016-04-13 13:57:42 -0700
committerAlejandro Piñeiro <[email protected]>2016-04-15 07:44:34 +0200
commitfe9d8cd79e9380e29eb92f97903e8cb79d25371a (patch)
tree79f9ccb4959ca34babf033bf63d2b1d968bee65b /src/mesa/Android.gen.mk
parenteeff13315858fcb09eefba9a94e6bae5820572e0 (diff)
xlib: do not cache return value of glXChooseVisual/glXGetVisualFromFBConfig
The returned XVisualInfo from glXChooseVisual/glXGetVisualFromFBConfig is being cached in XMesaVisual.vishandle (and unconditionally overwritten on subsequent calls). However, these entry points are specified to return XVisualInfo instances to be owned by the caller and freed with XFree(), so the return values should not be retained. With this change, XMesaVisual.vishandle is essentially unused and will be removed in a subsequent change. v2: update commit message Reviewed-by: Alejandro Piñeiro <[email protected]>
Diffstat (limited to 'src/mesa/Android.gen.mk')
0 files changed, 0 insertions, 0 deletions