Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <RocketSauce/RocketSauce.h>
- //Screen dimension constants
- const int SCREEN_WIDTH = 640;
- const int SCREEN_HEIGHT = 480;
- int main( int argc, char* args[] ) {
- RS_Init( RS_CONTEXT_GL33 );
- ShaderProgram* prg = FS_GetAsset( "assets\\shaders\\default.shprg" );
- Texture* tex = FS_GetAsset( "assets\\RocketSauce_Logo.rsimg" );
- while ( !App_ShouldQuit() ) {
- Screen_StartFrame();
- if ( Mouse_IsButtonReleased( MOUSEBUTTON_3 ) ) {
- App_SetShouldQuit( true );
- }
- Screen_EndFrame();
- }
- RS_Finish();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement