unificats els shaders glsl en un sol fitxer

corregida la inicialització de opengl i shaders
This commit is contained in:
2025-10-02 17:11:38 +02:00
parent 79033346c0
commit 7946ea54a6
6 changed files with 53 additions and 242 deletions
+1
View File
@@ -6,4 +6,5 @@
namespace shader {
bool init(SDL_Window *ventana, SDL_Texture *texturaBackBuffer, const std::string &vertexShader, const std::string &fragmentShader = "");
void render();
void setTextureSize(float width, float height); // Establece el tamaño de textura como uniform
} // namespace shader