Refactor the way resources are loaded (#191)
* WIP * WIP * Font works * WIP: Only Music remains * Looks like it's working * Fix oopsie * Core/ObjectRef: Add cast functions * Update ChangeLog.md * Audio/SoundStream: Make sound stream thread-safe
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Nz
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (!newTexture->Update(image, Rectui(0, 0, image.GetWidth(), image.GetHeight())))
|
||||
if (!newTexture->Update(&image, Rectui(0, 0, image.GetWidth(), image.GetHeight())))
|
||||
{
|
||||
NazaraError("Failed to update texture");
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user