Renamed gl_state to gl_rend_state

This commit is contained in:
korenkonder
2025-04-23 23:57:23 +03:00
parent 932a2c8a0f
commit eab35bf2c2
41 changed files with 2048 additions and 2046 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ void Shadow::clear_textures() {
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
}
gl_state_bind_framebuffer(0);
gl_rend_state.bind_framebuffer(0);
}
void Shadow::ctrl() {
@@ -113,7 +113,7 @@ int32_t Shadow::init() {
GLint swizzle[] = { GL_RED, GL_RED, GL_RED, GL_ONE };
glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_RGBA, swizzle);
glBindTexture(GL_TEXTURE_2D, 0);
gl_state_get_error();
gl_get_error_print();
return 0;
}