diff --git a/libc3/window/sdl2/gl_ortho.c b/libc3/window/sdl2/gl_ortho.c
index 623f30c..7e05d65 100644
--- a/libc3/window/sdl2/gl_ortho.c
+++ b/libc3/window/sdl2/gl_ortho.c
@@ -46,7 +46,7 @@ static const char * g_gl_ortho_fragment_shader_src =
"void main() {\n"
" vec4 texColor = texture(uTex2D, iTexCoord);\n"
" if (uEnableTex2D) {\n"
- " oFragColor = texColor;\n"
+ " oFragColor = texColor * uColor;\n"
" }\n"
" else\n"
" oFragColor = uColor;\n"
diff --git a/libc3/window/sdl2/types.h b/libc3/window/sdl2/types.h
index 95bf885..f93e8fa 100644
--- a/libc3/window/sdl2/types.h
+++ b/libc3/window/sdl2/types.h
@@ -303,11 +303,13 @@ struct gl_square {
uw segments_v;
};
+#pragma pack(push, 1)
struct gl_vertex {
s_gl_point_3f position;
s_gl_point_3f normal;
s_gl_point_2f tex_coord;
};
+#pragma pack(pop)
struct sdl2_sprite {
s_gl_object object;