mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 09:34:35 -05:00
Fix failing to compile with OpenGL backend
This commit is contained in:
parent
70db1453e9
commit
ddd8c3c409
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue