Examples review...
This commit is contained in:
parent
e6bc655d6a
commit
8847602061
1 changed files with 26 additions and 16 deletions
|
|
@ -27,7 +27,7 @@ int main()
|
|||
// with mipmaps option set to true on CreateTexture()
|
||||
|
||||
Image image = LoadImage("resources/raylib_logo.png"); // Load image to CPU memory (RAM)
|
||||
Texture2D texture = CreateTexture(image, true); // Create texture and generate mipmaps
|
||||
Texture2D texture = LoadTextureFromImage(image, true); // Create texture and generate mipmaps
|
||||
|
||||
UnloadImage(image); // Once texture has been created, we can unload image data from RAM
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue