GRIM: Remove unused return value from GfxBase::setupScreen
This commit is contained in:
parent
c4b9f966b6
commit
b8ae32d71b
7 changed files with 7 additions and 13 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue