diff options
author | Vinson Lee <[email protected]> | 2010-02-08 01:53:31 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-08 01:53:31 -0800 |
commit | 7da1a528b8e8dea97586e945c4eb7a5da6dbf7d8 (patch) | |
tree | 520b15197b321622eb167d5bf0d6c4299bdeea94 /progs/xdemos | |
parent | eaf8fe657f4cd30c0c1da20c4acf43e077783fcd (diff) |
progs/xdemos: Silence uninitialized variable warning.
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/texture_from_pixmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/texture_from_pixmap.c b/progs/xdemos/texture_from_pixmap.c index ab215b0ac30..5f2fbc3f129 100644 --- 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++) { |