unificats els shaders glsl en un sol fitxer
corregida la inicialització de opengl i shaders
This commit is contained in:
Vendored
+1
@@ -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
|
||||
Reference in New Issue
Block a user