projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: Fix build and warnings with -Dglx=dri -Dglx-direct=false
[mesa.git]
/
src
/
glx
/
glx_pbuffer.c
diff --git
a/src/glx/glx_pbuffer.c
b/src/glx/glx_pbuffer.c
index 515099aa0d8767121fb5e7ceda383274d885a2be..b654168324c309540cb4edce89d089f57aa58236 100644
(file)
--- a/
src/glx/glx_pbuffer.c
+++ b/
src/glx/glx_pbuffer.c
@@
-86,10
+86,10
@@
ChangeDrawableAttribute(Display * dpy, GLXDrawable drawable,
struct glx_display *priv = __glXInitialize(dpy);
#ifdef GLX_DIRECT_RENDERING
__GLXDRIdrawable *pdraw;
+ int i;
#endif
CARD32 *output;
CARD8 opcode;
- int i;
if ((priv == NULL) || (dpy == NULL) || (drawable == 0)) {
return;