changed texture for now, before adding texture and mesh component

This commit is contained in:
OusmBlueNinja 2024-12-25 17:55:57 -06:00
parent d77de75918
commit bf6df61f88
2 changed files with 1 additions and 1 deletions

BIN
assets/textures/wood.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 KiB

View File

@ -149,7 +149,7 @@ void RenderWindow::InitGLResources()
// 3) Load TEXTURE from the asset manager // 3) Load TEXTURE from the asset manager
// ---------------------------------------------------- // ----------------------------------------------------
{ {
void* texAsset = g_AssetManager.loadAsset(AssetType::TEXTURE, "assets/textures/default.png"); void* texAsset = g_AssetManager.loadAsset(AssetType::TEXTURE, "assets/textures/wood.png");
if (!texAsset) if (!texAsset)
{ {
fprintf(stderr, "[RenderWindow] Failed to load texture.\n"); fprintf(stderr, "[RenderWindow] Failed to load texture.\n");