WINTERMUTE: Fixed wintermute engine compilation when GLEW is disabled

This commit is contained in:
Pawel Kolodziejski 2020-10-04 11:30:39 +02:00
parent a38f8dc668
commit e427f7eeda
12 changed files with 46 additions and 0 deletions

View file

@ -33,6 +33,8 @@
#include "graphics/opengl/system_headers.h"
#include "math/glmath.h"
#if defined(USE_GLES2) || defined(USE_OPENGL_SHADERS)
namespace Wintermute {
BaseRenderer3D *makeOpenGL3DShaderRenderer(BaseGame *inGame) {
return new BaseRenderOpenGL3DShader(inGame);
@ -694,3 +696,5 @@ ShadowVolume *BaseRenderOpenGL3DShader::createShadowVolume() {
}
} // namespace Wintermute
#endif // defined(USE_GLES2) || defined(USE_OPENGL_SHADERS)