Skip to content

Commit

Permalink
Fix failing to compile with OpenGL backend
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Oct 3, 2019
1 parent 70db145 commit ddd8c3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Graphics.c
Expand Up @@ -1124,7 +1124,8 @@ void Gfx_SetAlphaBlending(bool enabled) { gl_Toggle(GL_BLEND); }
void Gfx_SetAlphaArgBlend(bool enabled) { }

static void GL_ClearCol(PackedCol col) {
glClearColor(col.R / 255.0f, col.G / 255.0f, col.B / 255.0f, col.A / 255.0f);
glClearColor(PackedCol_R(col) / 255.0f, PackedCol_G(col) / 255.0f,
PackedCol_B(col) / 255.0f, PackedCol_A(col) / 255.0f);
}
void Gfx_ClearCol(PackedCol col) {
if (col == gfx_clearCol) return;
Expand Down

0 comments on commit ddd8c3c

Please sign in to comment.