Arreglat jail_shader.cpp en windows també

This commit is contained in:
2025-03-16 09:55:32 +01:00
parent e7359a1467
commit 4a07100e2a
23 changed files with 75 additions and 73 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#include <SDL2/SDL_render.h> // para SDL_Texture
#include <SDL2/SDL_video.h> // para SDL_Window
#include <SDL2/SDL_render.h> // Para SDL_Texture
#include <SDL2/SDL_video.h> // Para SDL_Window
#include <string>
// TIPS:
@@ -39,7 +39,7 @@
namespace shader
{
//const bool init(SDL_Window *ventana, SDL_Texture *texturaBackBuffer, const char *vertexShader, const char *fragmentShader = nullptr);
// const bool init(SDL_Window *ventana, SDL_Texture *texturaBackBuffer, const char *vertexShader, const char *fragmentShader = nullptr);
bool init(SDL_Window *ventana, SDL_Texture *texturaBackBuffer, const std::string &vertexShader, const std::string &fragmentShader = "");
void render();
}