|
|
@ -3,7 +3,7 @@ |
|
|
|
* raylib [core] example - Basic window (adapted for HTML5 platform) |
|
|
|
* |
|
|
|
* This example is prepared to compile for PLATFORM_WEB, PLATFORM_DESKTOP and PLATFORM_RPI |
|
|
|
* As you will notice, code structure is slightly diferent to the other examples... |
|
|
|
* As you will notice, code structure is slightly different to the other examples... |
|
|
|
* To compile it for PLATFORM_WEB just uncomment #define PLATFORM_WEB at beginning |
|
|
|
* |
|
|
|
* This example has been created using raylib 1.3 (www.raylib.com) |
|
|
@ -31,7 +31,7 @@ int screenHeight = 450; |
|
|
|
void UpdateDrawFrame(void); // Update and Draw one frame |
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------- |
|
|
|
// Main Enry Point |
|
|
|
// Main Entry Point |
|
|
|
//---------------------------------------------------------------------------------- |
|
|
|
int main() |
|
|
|
{ |
|
|
@ -80,4 +80,4 @@ void UpdateDrawFrame(void) |
|
|
|
|
|
|
|
EndDrawing(); |
|
|
|
//---------------------------------------------------------------------------------- |
|
|
|
} |
|
|
|
} |