changeset 347:1b89c9ca9246

Fixed build warning
author Sam Lantinga <slouken@libsdl.org>
date Sat, 13 Apr 2002 20:33:21 +0000
parents a18ea34d9efe
children 25809353f877
files src/video/quartz/SDL_QuartzVideo.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m	Sat Apr 13 20:33:15 2002 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Sat Apr 13 20:33:21 2002 +0000
@@ -1208,7 +1208,7 @@
 
 static int    QZ_GL_GetAttribute   (_THIS, SDL_GLattr attrib, int* value) {
 
-    GLenum attr;
+    GLenum attr = 0;
 
     QZ_GL_MakeCurrent (this);