migrant a SDL3
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#include "jail_shader.h"
|
||||
#include <SDL3/SDL_rect.h> // Para SDL_FPoint
|
||||
#include <SDL3/SDL_stdinc.h> // Para SDL_bool
|
||||
#include <cstring> // Para strncmp
|
||||
#include <iostream> // Para basic_ostream, operator<<, endl, cout
|
||||
#include <stdexcept> // Para runtime_error
|
||||
#include <vector> // Para vector
|
||||
#include <SDL3/SDL_rect.h> // Para SDL_FPoint, SDL_Point
|
||||
#include <cstring> // Para strncmp
|
||||
#include <iostream> // Para basic_ostream, operator<<, endl, cout
|
||||
#include <stdexcept> // Para runtime_error
|
||||
#include <vector> // Para vector
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "CoreFoundation/CoreFoundation.h" // Para Core Foundation en macOS
|
||||
@@ -157,7 +156,7 @@ namespace shader
|
||||
shader::backBuffer = texturaBackBuffer;
|
||||
SDL_GetWindowSize(ventana, &win_size.x, &win_size.y);
|
||||
|
||||
//int acceso;
|
||||
// int acceso;
|
||||
SDL_GetTextureSize(texturaBackBuffer, &tex_size.x, &tex_size.y);
|
||||
// SDL_QueryTexture(texturaBackBuffer, nullptr, &acceso, &tex_size.x, &tex_size.y);
|
||||
/*if (acceso != SDL_TEXTUREACCESS_TARGET)
|
||||
|
||||
Reference in New Issue
Block a user