projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f043cd
)
libgl-gdi: silence unused variable warning when not using LLVM
author
Brian Paul
<brianp@vmware.com>
Mon, 21 Apr 2014 15:49:40 +0000
(09:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 21 Apr 2014 15:50:53 +0000
(09:50 -0600)
src/gallium/targets/libgl-gdi/libgl_gdi.c
patch
|
blob
|
history
diff --git
a/src/gallium/targets/libgl-gdi/libgl_gdi.c
b/src/gallium/targets/libgl-gdi/libgl_gdi.c
index 3f7dc00b0801c4b8453807beeb9065827175c6fd..a2fb161c682dbf29b8cbc447b079ba13c54a651e 100644
(file)
--- a/
src/gallium/targets/libgl-gdi/libgl_gdi.c
+++ b/
src/gallium/targets/libgl-gdi/libgl_gdi.c
@@
-78,6
+78,8
@@
gdi_screen_create(void)
if (strcmp(driver, "llvmpipe") == 0) {
screen = llvmpipe_create_screen( winsys );
}
+#else
+ (void) driver;
#endif
if (screen == NULL) {