mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
did this work?
This commit is contained in:
parent
dbacf38db1
commit
f7b7de75a9
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ static struct ShaderProgram* gfx_opengl_create_and_load_new_shader(uint64_t shad
|
||||||
GLint sampler_location = glGetUniformLocation(shader_program, "uTex1");
|
GLint sampler_location = glGetUniformLocation(shader_program, "uTex1");
|
||||||
GLint uniform_location_1 = glGetUniformLocation(shader_program, "texSize1");
|
GLint uniform_location_1 = glGetUniformLocation(shader_program, "texSize1");
|
||||||
GL_CHECK(glUniform1i(sampler_location, 1));
|
GL_CHECK(glUniform1i(sampler_location, 1));
|
||||||
GL_CHECK(glUniform2f(uniform_location_1, opengl_tex[opengl_curtex].size[0], opengl_tex[opengl_curtex].size[1]));
|
GL_CHECK(glUniform2f(uniform_location_1, opengl_tex[opengl_curtex - 1].size[0], opengl_tex[opengl_curtex - 1].size[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cc_features.opt_alpha && cc_features.opt_noise) {
|
if (cc_features.opt_alpha && cc_features.opt_noise) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue