mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 12:34:15 +00:00
feat: add texture folder and remove old files
This commit is contained in:
@@ -5,7 +5,7 @@ namespace fs = std::filesystem;
|
||||
|
||||
Texture::Texture(const std::string& filename)
|
||||
{
|
||||
fs::path path = fs::absolute(fs::current_path() / "res/textures" / filename);
|
||||
fs::path path = fs::absolute(fs::current_path() / "res" / filename);
|
||||
|
||||
int maxTextureSize;
|
||||
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
|
||||
|
||||
Reference in New Issue
Block a user