|
|
@ -38,7 +38,8 @@ int main() |
|
|
|
|
|
|
|
ClearBackground(RAYWHITE); |
|
|
|
|
|
|
|
DrawTexture(texture, screenWidth/2 - texture.width/2, screenHeight/2 - texture.height/2, WHITE); |
|
|
|
DrawTexture(texture, screenWidth/2 - texture.width/2, |
|
|
|
screenHeight/2 - texture.height/2, WHITE); |
|
|
|
|
|
|
|
DrawText("this IS a texture!", 360, 370, 10, 1, GRAY); |
|
|
|
|
|
|
@ -48,7 +49,7 @@ int main() |
|
|
|
|
|
|
|
// De-Initialization |
|
|
|
//--------------------------------------------------------- |
|
|
|
UnloadTexture(texture); // Texture unloading |
|
|
|
UnloadTexture(texture); // Texture unloading |
|
|
|
|
|
|
|
CloseWindow(); // Close window and OpenGL context |
|
|
|
//---------------------------------------------------------- |
|
|
|