This commit is contained in:
2025-10-24 18:11:51 +02:00
parent 145d1e3fc0
commit 5d1c6c6d99
3 changed files with 36 additions and 26 deletions

View File

@@ -39,8 +39,8 @@ class OpenGLShader : public ShaderBackend {
auto compileShader(const std::string& source, GLenum shader_type) -> GLuint;
auto linkProgram(GLuint vertex_shader, GLuint fragment_shader) -> GLuint;
void createQuadGeometry();
auto getTextureID(SDL_Texture* texture) -> GLuint;
void checkGLError(const char* operation);
static auto getTextureID(SDL_Texture* texture) -> GLuint;
static void checkGLError(const char* operation);
// Estado SDL
SDL_Window* window_ = nullptr;