SDL_BLENDMODE_BLEND causes black window #3

Open
opened 2025-03-24 08:40:48 +01:00 by Burer · 0 comments
Owner

Trying to set SDL_BLENDMODE_BLEND causes SDL window to be just black, without any graphics displayed.
For example, this line of code:

SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND);

But without SDL_BLENDMODE_BLEND it works totally fine.
This also makes it impossible to use half-transparent colors in RenderDraw functions.

Trying to set `SDL_BLENDMODE_BLEND` causes SDL window to be just black, without any graphics displayed. For example, this line of code: ```c SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND); ``` But without `SDL_BLENDMODE_BLEND` it works totally fine. This also makes it impossible to use half-transparent colors in `RenderDraw` functions.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/SDL2#3
No description provided.