Commit 003e8cf7 authored by blackle's avatar blackle
Browse files

Bring back glFinish and reorder struct member to go under sizelimit

parent 650550b9
......@@ -49,7 +49,7 @@ main : main.c shader.h Makefile
main_packed : main ../packer/header Makefile
gzip --no-name -9 -c main | wc -c
zopfli --gzip --i1000 -c main > main.gz
zopfli --gzip --i10000 -c main > main.gz
wc -c main.gz
cat ../packer/header main.gz > main_packed
chmod +x main_packed
......
......@@ -20,8 +20,8 @@
#define CANVAS_HEIGHT 1080
struct _textloc {
char* font;
char* text;
char* font;
cairo_matrix_t matrix;
float origin_x;
float origin_y;
......@@ -247,7 +247,7 @@ void _start() {
for (int x = 0; x < 9; x++) {
glUniform1f(0, x);
glRecti(-1,-1,1,1);
// glFinish();
glFinish();
}
//blit our framebuffer to the screen
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment