ref: a6408b330f0e9aa49c013a9281713089f736d3d6
parent: a37e1d31f268f7ffabf8845c0794b20175d8be1c
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Sep 11 19:10:47 EDT 2020
Fix build error
--- a/src/Backends/Rendering/OpenGL3.cpp
+++ b/src/Backends/Rendering/OpenGL3.cpp
@@ -937,9 +937,9 @@
last_render_mode = MODE_DRAW_GLYPH;
last_destination_texture = glyph_destination_surface->texture_id;
last_source_texture = atlas->texture_id;
- last_red = colour_channels[0];
- last_green = colour_channels[1];
- last_blue = colour_channels[2];
+ last_red = red;
+ last_green = green;
+ last_blue = blue;
glUseProgram(program_glyph);
glUniform4f(program_glyph_uniform_colour, red / 255.0f, green / 255.0f, blue / 255.0f, 1.0f);