Commit 54ba385b4eb64c78b64a5fb90931cda64bb6036c

Sam Lantinga 2014-03-01T11:42:12

Fixed compiler warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/windows/SDL_windowsopengles.c b/src/video/windows/SDL_windowsopengles.c
index 9cb5218..a921ba8 100644
--- a/src/video/windows/SDL_windowsopengles.c
+++ b/src/video/windows/SDL_windowsopengles.c
@@ -32,8 +32,6 @@
 int
 WIN_GLES_LoadLibrary(_THIS, const char *path) {
 
-    SDL_VideoData *data = (SDL_VideoData *)_this->driverdata;
-
     /* If the profile requested is not GL ES, switch over to WIN_GL functions  */
     if (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) {
 #if SDL_VIDEO_OPENGL_WGL