mupen64plus / mupen64plus-video-rice

Video plugin for the Mupen64Plus v2.0 project, using OpenGL. This plugin is based on the RiceVideoLinux plugin from earlier versions of Mupen64Plus.
31 stars 40 forks source link

Fix building with USE_GLES=1 #67

Closed orbea closed 7 years ago

orbea commented 7 years ago

This will fix building mupen64plus-video-rice with make USE_GLES=1 all on Slackware64-current.

    CXX _obj/OGLTexture.o
../../src/OGLRender.cpp: In member function ‘virtual void OGLRender::Initialize()’:
../../src/OGLRender.cpp:111:18: error: ‘GL_DEPTH_CLAMP_NV’ was not declared in this scope
         glEnable(GL_DEPTH_CLAMP_NV);
                  ^
    CXX _obj/Render.o
Makefile:419: recipe for target '_obj/OGLRender.o' failed
make: *** [_obj/OGLRender.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
richard42 commented 7 years ago

I just pushed a different fix for this issue; it should build for you now.

orbea commented 7 years ago

Thanks!