Skip to content

Commit

Permalink
OpenGL Renderer: Add entry point for glBlendColor, fixing compiling o…
Browse files Browse the repository at this point in the history
…n Windows. (Regression from commit 0c7cb99.)
  • Loading branch information
rogerman committed Jul 18, 2024
1 parent 0c7cb99 commit 3e650f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions desmume/src/OGLRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ OGLEXT(PFNGLACTIVETEXTUREPROC, glActiveTexture) // Core in v1.3

// Blending
#if !defined(GLX_H)
OGLEXT(PFNGLBLENDCOLORPROC, glBlendColor) // Core in v1.2
OGLEXT(PFNGLBLENDEQUATIONPROC, glBlendEquation) // Core in v1.2
#endif
OGLEXT(PFNGLBLENDFUNCSEPARATEPROC, glBlendFuncSeparate) // Core in v1.4
Expand Down Expand Up @@ -256,6 +257,7 @@ static void OGLLoadEntryPoints_Legacy()

// Blending
#if !defined(GLX_H)
INITOGLEXT(PFNGLBLENDCOLORPROC, glBlendColor) // Core in v1.2
INITOGLEXT(PFNGLBLENDEQUATIONPROC, glBlendEquation) // Core in v1.2
#endif
INITOGLEXT(PFNGLBLENDFUNCSEPARATEPROC, glBlendFuncSeparate) // Core in v1.4
Expand Down
1 change: 1 addition & 0 deletions desmume/src/OGLRender.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ EXTERNOGLEXT(PFNGLACTIVETEXTUREPROC, glActiveTexture) // Core in v1.3

// Blending
#if !defined(GLX_H)
EXTERNOGLEXT(PFNGLBLENDCOLORPROC, glBlendColor) // Core in v1.2
EXTERNOGLEXT(PFNGLBLENDEQUATIONPROC, glBlendEquation) // Core in v1.2
#endif
EXTERNOGLEXT(PFNGLBLENDFUNCSEPARATEPROC, glBlendFuncSeparate) // Core in v1.4
Expand Down

0 comments on commit 3e650f2

Please sign in to comment.