mirror of
https://github.com/IllusionMan1212/cudoku.git
synced 2026-10-24 02:12:25 +00:00
yayayayayaya
This commit is contained in:
@@ -175,7 +175,7 @@ void draw_number(Shader shader, int text, int row, int column, float scale, unsi
|
||||
|
||||
void draw_text(Shader shader, const char *text, Size text_size, float scale, unsigned int vao, unsigned int vbo, float *transform) {
|
||||
use_shader(shader);
|
||||
set_vec3f(shader, "textColor", 55.f / 255.f, 55.f / 255.f, 55.f / 255.f);
|
||||
set_vec3f(shader, "textColor", 200.f / 255.f, 200.f / 255.f, 200.f / 255.f);
|
||||
set_mat4f(shader, "transform", transform);
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindVertexArray(vao);
|
||||
|
||||
Reference in New Issue
Block a user