Skip to content

Commit

Permalink
Fix for OpenGL2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Jun 26, 2024
1 parent b43a219 commit 0015f14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wiliwili/source/view/mpv_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ static GLuint linkProgram(GLuint s1, GLuint s2) {
#elif defined(BOREALIS_USE_D3D11)
#include <borealis/platforms/driver/d3d11.hpp>
extern std::unique_ptr<brls::D3D11Context> D3D11_CONTEXT;
#elif defined(USE_GL2)
#undef glBindFramebuffer
#define glBindFramebuffer(a, b) void()
#endif

static inline void check_error(int status) {
Expand Down

0 comments on commit 0015f14

Please sign in to comment.