apply shader in draw gui end using the port on screen

Heavybrush

Member
HI, I've done a shader to change the pixels in the game
unfortunatly using the creation event to disable the application surface

///disable application surface
application_surface_draw_enable(false);

and using the draw gui end to set the shader on the application surface, to apply the shader to the whole screen

///draw application surface
shader_set(shd_cga);
draw_surface(application_surface,0,0);
shader_reset();

it reset my port on screen (320 x 200), change the resolution to my monitor resolution and draw the view (320 x 200) on the upper left corner

How to replace the port on screen
 
Top