GRIM: Remove unused return value from GfxBase::setupScreen

This commit is contained in:
Pawel Kolodziejski 2020-10-05 20:03:16 +02:00
parent c4b9f966b6
commit b8ae32d71b
7 changed files with 7 additions and 13 deletions

View file

@ -406,7 +406,7 @@ void GfxOpenGLS::setupShaders() {
}
}
byte *GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
void GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
_screenWidth = screenW;
_screenHeight = screenH;
_scaleW = _screenWidth / (float)_gameWidth;
@ -430,7 +430,6 @@ byte *GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
// color map and the following are using textures.
glDepthFunc(GL_LEQUAL);
}
return NULL;
}
void GfxOpenGLS::setupCameraFrustum(float fov, float nclip, float fclip) {