opengl_x11

Playing with OpenGL
git clone git://bsandro.tech/opengl_x11
Log | Files | Refs | README | LICENSE

commit 2e66dd513ddd7d58cd459599442408d4636ef006
parent bed49138833a575a2588eeb2f5ef78a9b71eed1b
Author: bsandro <email@bsandro.tech>
Date:   Mon, 10 Nov 2025 00:14:59 +0200

fixed uv for astc (no more upside down mirrored picture)

Diffstat:
Mtexture.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/texture.c b/texture.c @@ -220,10 +220,10 @@ int main(int argc, char *argv[]) { // x,y,tx,ty static const GLfloat vertices[] = { - -0.5, -0.5, 0, 0, - 0.5, -0.5, 1, 0, - 0.5, 0.5, 1, 1, - -0.5, 0.5, 0, 1 + -0.5, -0.5, 0, 1, + 0.5, -0.5, 1, 1, + 0.5, 0.5, 1, 0, + -0.5, 0.5, 0, 0 }; static const GLuint elements[] = { 0, 1, 2,