ui: Cleanup debug messages

This commit is contained in:
Matt Borgerson 2020-05-22 14:57:58 -07:00
parent ff729dc55d
commit 7e67f18595
4 changed files with 0 additions and 13 deletions

View File

@ -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;

View File

@ -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();
}

View File

@ -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)

View File

@ -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