mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
Fix failing to compile with OpenGL backend
This commit is contained in:
parent
70db1453e9
commit
ddd8c3c409
@ -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…
x
Reference in New Issue
Block a user