gnysek
Member
I've just noticed (but this happens probably even before GMS2), that there is issue with drawing application_surface manually.
When I enable it, and draw manually in Post-draw event, sprites which have alpha-transparency are blended in a strange way (like transparency between 1 - 254 is divided by 2):
App-surface disabled:
App surface enabled:
The code I'm using:
And that's all. Anybody encountered this issue, or I'm forgetting about something here ?
When I enable it, and draw manually in Post-draw event, sprites which have alpha-transparency are blended in a strange way (like transparency between 1 - 254 is divided by 2):
App-surface disabled:
App surface enabled:
The code I'm using:
Code:
// CREATE
application_surface_draw_enable(false);
application_surface_enable(true);
Code:
// POST-DRAW
if (application_surface_is_enabled()) {
draw_surface(application_surface, 0, 0);
}