File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 7
7
"targetPath" : " bin" ,
8
8
"stringImportPaths" : [" src/gbaid/gba/assembly" ],
9
9
"dependencies" : {
10
- "derelict-sdl2" :" 2.1.0 " ,
11
- "derelict-gl3" :" 1.0.18 "
10
+ "derelict-sdl2" :" 2.1.2 " ,
11
+ "derelict-gl3" :" 1.0.21 "
12
12
},
13
13
}
Original file line number Diff line number Diff line change @@ -160,8 +160,7 @@ public class GL20Context : Context {
160
160
}
161
161
} else {
162
162
// In window mode, we limit the size to the maximum usable area
163
- // DerelictSDL2 bug: this should be the display index, not a mode. Hack fix: pass as a pointer
164
- if (SDL_GetDisplayUsableBounds(cast (SDL_DisplayMode* ) 0 , &maxSize) < 0 ) {
163
+ if (SDL_GetDisplayUsableBounds(0 , &maxSize) < 0 ) {
165
164
throw new Exception (" Failed to get usable display bounds: " ~ toDString(SDL_GetError()));
166
165
}
167
166
if (width != null ) {
You can’t perform that action at this time.
0 commit comments