GRIM: Check at runtime that shaders are available
This commit is contained in:
parent
6c5df1ca35
commit
3f295ec773
5 changed files with 29 additions and 19 deletions
|
@ -405,8 +405,6 @@ void GfxOpenGLS::setupShaders() {
|
|||
}
|
||||
|
||||
byte *GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
|
||||
g_system->setupScreen(screenW, screenH, fullscreen, true);
|
||||
|
||||
_pixelFormat = g_system->getScreenPixelBuffer().getFormat();
|
||||
_screenWidth = screenW;
|
||||
_screenHeight = screenH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue