Corregido el tamaño de la textura y de la ventana

This commit is contained in:
2024-09-03 19:47:57 +02:00
parent ccfd864eab
commit b3d9b72d1d

View File

@@ -23,8 +23,8 @@ namespace shader
SDL_Renderer *renderer = nullptr; SDL_Renderer *renderer = nullptr;
GLuint programId = 0; GLuint programId = 0;
SDL_Texture* backBuffer = nullptr; SDL_Texture* backBuffer = nullptr;
SDL_Point win_size = {640, 480}; SDL_Point win_size = {320*4, 256*4};
SDL_Point tex_size = {320, 240}; SDL_Point tex_size = {320, 256};
bool usingOpenGL; bool usingOpenGL;
#ifndef __APPLE__ #ifndef __APPLE__