platform/sdl1: avoid limiting frame twice in SDL1_Harness_Swap (#512)
* Remove unused debug_print declarations from harness/trace.h * sdl1: avoid limiting fps twice SDL1_Renderer_Present already limits fps
This commit is contained in:
parent
d5bdca5eda
commit
abd1405074
|
|
@ -8,9 +8,6 @@ extern int harness_debug_level;
|
|||
|
||||
void debug_printf(const char* fmt, const char* fn, const char* fmt2, ...);
|
||||
void panic_printf(const char* fmt, const char* fn, const char* fmt2, ...);
|
||||
void debug_print_vector3(const char* fmt, const char* fn, char* msg, br_vector3* v);
|
||||
void debug_print_matrix34(const char* fmt, const char* fn, char* name, br_matrix34* m);
|
||||
void debug_print_matrix4(const char* fmt, const char* fn, char* name, br_matrix4* m);
|
||||
|
||||
#define BLUE
|
||||
|
||||
|
|
|
|||
|
|
@ -255,10 +255,6 @@ static void SDL1_Harness_Swap(br_pixelmap* back_buffer) {
|
|||
SDL1_GL_SwapBuffers();
|
||||
} else {
|
||||
SDL1_Renderer_Present(back_buffer);
|
||||
|
||||
if (harness_game_config.fps != 0) {
|
||||
limit_fps();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue