3DS - Fix more corruption
I swear I'm normally a good programmer ;_;
This commit is contained in:
parent
b6ff494f54
commit
a82189b0c9
1 changed files with 5 additions and 5 deletions
|
@ -68,13 +68,13 @@ static void EnableAlpha(bool enabled)
|
|||
C3D_FrameEnd(0);
|
||||
frame_started = false;
|
||||
|
||||
previous_setting = enabled;
|
||||
}
|
||||
|
||||
if (enabled)
|
||||
C3D_AlphaBlend(GPU_BLEND_ADD, GPU_BLEND_ADD, GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA);
|
||||
else
|
||||
C3D_AlphaBlend(GPU_BLEND_ADD, GPU_BLEND_ADD, GPU_ONE, GPU_ZERO, GPU_ONE, GPU_ZERO);
|
||||
|
||||
previous_setting = enabled;
|
||||
}
|
||||
}
|
||||
|
||||
RenderBackend_Surface* RenderBackend_Init(const char *window_title, size_t screen_width, size_t screen_height, bool fullscreen)
|
||||
|
|
Loading…
Add table
Reference in a new issue