ソースを参照

Fixed compiler warning

Sam Lantinga 11 年 前
コミット
54ba385b4e
1 ファイル変更0 行追加2 行削除
  1. 0 2
      src/video/windows/SDL_windowsopengles.c

+ 0 - 2
src/video/windows/SDL_windowsopengles.c

@@ -32,8 +32,6 @@
 int
 int
 WIN_GLES_LoadLibrary(_THIS, const char *path) {
 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 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 (_this->gl_config.profile_mask != SDL_GL_CONTEXT_PROFILE_ES) {
 #if SDL_VIDEO_OPENGL_WGL
 #if SDL_VIDEO_OPENGL_WGL