Corregido el tamaño de la textura y de la ventana
This commit is contained in:
@@ -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__
|
||||||
|
|||||||
Reference in New Issue
Block a user