Skip to content
Permalink
Browse files

Fix failing to compile with OpenGL backend

  • Loading branch information...
UnknownShadow200 committed Oct 3, 2019
1 parent 70db145 commit ddd8c3c40933cb6881f3184df0238b5c03c65dfb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Graphics.c
@@ -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;

0 comments on commit ddd8c3c

Please sign in to comment.
You can’t perform that action at this time.