mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 15:25:39 +00:00
ui: Cleanup debug messages
This commit is contained in:
@ -41,8 +41,6 @@ static GloContext *g_context;
|
||||
/* Create an OpenGL context */
|
||||
GloContext *glo_context_create(void)
|
||||
{
|
||||
fprintf(stderr, "%s\n", __func__);
|
||||
|
||||
if (g_context) {
|
||||
glo_set_current(g_context);
|
||||
return g_context;
|
||||
|
||||
@ -1287,13 +1287,6 @@ static void ShowMainMenu()
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
ImGui::SetCursorPosX(ImGui::GetWindowWidth()-100.0*g_ui_scale);
|
||||
extern float fps;
|
||||
ImGui::Text("%.3f", fps);
|
||||
ImGui::SameLine();
|
||||
ImGui::SetCursorPosX(ImGui::GetWindowWidth()-200.0*g_ui_scale);
|
||||
ImGui::Text("%.3f", 1000.0/fps);
|
||||
|
||||
g_main_menu_height = ImGui::GetWindowHeight();
|
||||
ImGui::EndMainMenuBar();
|
||||
}
|
||||
|
||||
@ -331,8 +331,6 @@ void xemu_settings_load(void)
|
||||
// fprintf(stderr, "Failed to load config! Using defaults\n");
|
||||
settings_failed_to_load = 1;
|
||||
}
|
||||
|
||||
printf("Config loaded!\n");
|
||||
}
|
||||
|
||||
int xemu_settings_save(void)
|
||||
|
||||
@ -756,8 +756,6 @@ static const DisplayChangeListenerOps dcl_gl_ops = {
|
||||
|
||||
static void sdl2_display_very_early_init(DisplayOptions *o)
|
||||
{
|
||||
fprintf(stderr, "%s\n", __func__);
|
||||
|
||||
#ifdef __linux__
|
||||
/* on Linux, SDL may use fbcon|directfb|svgalib when run without
|
||||
* accessible $DISPLAY to open X11 window. This is often the case
|
||||
|
||||
Reference in New Issue
Block a user