mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29:55 -06:00
fixes to the threadedness of the sw rasteriser
also fix #639 and fix #880
This commit is contained in:
@ -182,6 +182,10 @@ void SetRenderSettings(RenderSettings& settings)
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
}
|
||||
|
||||
void Stop()
|
||||
{
|
||||
RenderFrame();
|
||||
}
|
||||
|
||||
void RenderFrame()
|
||||
{
|
||||
@ -195,6 +199,8 @@ void RenderFrame()
|
||||
|
||||
glViewport(0, 0, ScreenW, ScreenH);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
// TODO: select more shaders (filtering, etc)
|
||||
OpenGL::UseShaderProgram(CompShader[0]);
|
||||
glUniform1ui(CompScaleLoc[0], Scale);
|
||||
|
Reference in New Issue
Block a user