Browse Source

Fixed unreachable code warning

Sam Lantinga 2 years ago
parent
commit
6ca7212b75
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/video/SDL_video.c

+ 0 - 1
src/video/SDL_video.c

@@ -3918,7 +3918,6 @@ SDL_GL_GetAttribute(SDL_GLattr attr, int *value)
             *value = _this->gl_config.egl_platform;
             return 0;
         }
-        break;
     default:
         return SDL_SetError("Unknown OpenGL attribute");
     }