Heavybrush
Member
how to clear a shader to reset the regular application surface?
No, it's to stop using the shader. First you set the shader, then you draw stuff, and then you reset to default.no, shader reset is needed to close the code of the shader setting
if(can_cga)
{
shader_set(shd_cga);
draw_surface_ext(application_surface,0,0,2,2,0,c_white,1);
shader_reset();
}
else
draw_self();