- [FIX] Render final a textura, per a evitar la merda que clava la GPU si s'usa acceleració hardware
This commit is contained in:
@@ -114,6 +114,10 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
game::windowHasFocus = false;
|
||||
}
|
||||
if (e.type == SDL_EVENT_WINDOW_RESIZED)
|
||||
{
|
||||
draw::resizeSystemTexture(e.window.data1, e.window.data2);
|
||||
}
|
||||
}
|
||||
|
||||
if (SDL_GetTicks()-current_ticks >= game::ticks_per_frame)
|
||||
|
||||
Reference in New Issue
Block a user