projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf8fe6
)
progs/xdemos: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Mon, 8 Feb 2010 09:53:31 +0000
(
01:53
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 8 Feb 2010 09:53:31 +0000
(
01:53
-0800)
progs/xdemos/texture_from_pixmap.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/texture_from_pixmap.c
b/progs/xdemos/texture_from_pixmap.c
index
ab215b0
..
5f2fbc3
100644
(file)
--- a/
progs/xdemos/texture_from_pixmap.c
+++ b/
progs/xdemos/texture_from_pixmap.c
@@
-86,7
+86,7
@@
ChoosePixmapFBConfig(Display *display)
{
int screen = DefaultScreen(display);
GLXFBConfig *fbconfigs;
- int i, nfbconfigs, value;
+ int i, nfbconfigs
= 0
, value;
fbconfigs = glXGetFBConfigs(display, screen, &nfbconfigs);
for (i = 0; i < nfbconfigs; i++) {