diff options
| author | raysan5 <[email protected]> | 2015-01-02 20:58:06 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2015-01-02 20:58:06 +0100 |
| commit | 8847602061d964592c468757eb535770771af1f0 (patch) | |
| tree | f9f38b6d214dc7981c20a749009d80fc948a2214 /examples/textures_mipmaps.c | |
| parent | e6bc655d6acf69daeff084829cfee08aba9a71a8 (diff) | |
| download | raylib-8847602061d964592c468757eb535770771af1f0.tar.gz raylib-8847602061d964592c468757eb535770771af1f0.zip | |
Examples review...
Diffstat (limited to 'examples/textures_mipmaps.c')
| -rw-r--r-- | examples/textures_mipmaps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/textures_mipmaps.c b/examples/textures_mipmaps.c index ee79f513..d3ba1708 100644 --- a/examples/textures_mipmaps.c +++ b/examples/textures_mipmaps.c @@ -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 //-------------------------------------------------------------------------------------- |
