[GTK3] Make GCC happier
This commit is contained in:
parent
4d6ce2b404
commit
0a412f9d95
@ -30,10 +30,10 @@ static Rect rect;
|
||||
static bool vram_viewer_visible = false;
|
||||
static bool running = true;
|
||||
|
||||
static const size_t tileset_buffer_length = 256 * 192 * 4;
|
||||
#define tileset_buffer_length 256 * 192 * 4
|
||||
static uint32_t tileset_buffer[tileset_buffer_length] = {0};
|
||||
|
||||
static const size_t tilemap_buffer_length = 256 * 256 * 4;
|
||||
#define tilemap_buffer_length 256 * 256 * 4
|
||||
static uint32_t tilemap_buffer[tilemap_buffer_length] = {0};
|
||||
|
||||
static uint8_t pressed_buttons;
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include <glib.h>
|
||||
#include <gio/gio.h>
|
||||
#include "shader.h"
|
||||
|
||||
static const char *vertex_shader = "\n\
|
||||
|
@ -2,6 +2,9 @@
|
||||
#define shader_h
|
||||
#include <epoxy/gl.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <gio/gio.h>
|
||||
|
||||
typedef struct shader_s {
|
||||
GLuint resolution_uniform;
|
||||
|
Loading…
Reference in New Issue
Block a user