diff options
| author | raysan5 <raysan5@gmail.com> | 2014-04-19 16:54:48 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2014-04-19 16:54:48 +0200 |
| commit | f76a00adc1f4bc8c92187bf38fa1183f8626fc46 (patch) | |
| tree | b1acc3d7299bb00a59005304934166b8ba7bf11b /tests/test_image_loading.c | |
| parent | 1c8874e6d5cc6230e951397057cc5b7765647490 (diff) | |
| download | raylib-f76a00adc1f4bc8c92187bf38fa1183f8626fc46.tar.gz raylib-f76a00adc1f4bc8c92187bf38fa1183f8626fc46.zip | |
Code used to test some features (and resources)
Diffstat (limited to 'tests/test_image_loading.c')
| -rw-r--r-- | tests/test_image_loading.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_image_loading.c b/tests/test_image_loading.c index c554a394..7376bb60 100644 --- a/tests/test_image_loading.c +++ b/tests/test_image_loading.c @@ -2,7 +2,7 @@ * * raylib test - Testing LoadImage() and CreateTexture() * -* This example has been created using raylib 1.0 (www.raylib.com) +* This test has been created using raylib 1.0 (www.raylib.com) * raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) * * Copyright (c) 2013 Ramon Santamaria (Ray San - raysan@raysanweb.com) @@ -23,7 +23,7 @@ int main() // NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required) Image img = LoadImage("resources/raylib_logo.png"); - Texture2D texture = CreateTexture(img); + Texture2D texture = CreateTexture(img, false); UnloadImage(img); //--------------------------------------------------------------------------------------- |
