mirror of https://github.com/xemu-project/xemu.git
ui: Cleanup debug messages
This commit is contained in:
parent
ff729dc55d
commit
7e67f18595
|
@ -41,8 +41,6 @@ static GloContext *g_context;
|
||||||
/* Create an OpenGL context */
|
/* Create an OpenGL context */
|
||||||
GloContext *glo_context_create(void)
|
GloContext *glo_context_create(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s\n", __func__);
|
|
||||||
|
|
||||||
if (g_context) {
|
if (g_context) {
|
||||||
glo_set_current(g_context);
|
glo_set_current(g_context);
|
||||||
return g_context;
|
return g_context;
|
||||||
|
|
|
@ -1287,13 +1287,6 @@ static void ShowMainMenu()
|
||||||
ImGui::EndMenu();
|
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();
|
g_main_menu_height = ImGui::GetWindowHeight();
|
||||||
ImGui::EndMainMenuBar();
|
ImGui::EndMainMenuBar();
|
||||||
}
|
}
|
||||||
|
|
|
@ -331,8 +331,6 @@ void xemu_settings_load(void)
|
||||||
// fprintf(stderr, "Failed to load config! Using defaults\n");
|
// fprintf(stderr, "Failed to load config! Using defaults\n");
|
||||||
settings_failed_to_load = 1;
|
settings_failed_to_load = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Config loaded!\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int xemu_settings_save(void)
|
int xemu_settings_save(void)
|
||||||
|
|
|
@ -756,8 +756,6 @@ static const DisplayChangeListenerOps dcl_gl_ops = {
|
||||||
|
|
||||||
static void sdl2_display_very_early_init(DisplayOptions *o)
|
static void sdl2_display_very_early_init(DisplayOptions *o)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s\n", __func__);
|
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
/* on Linux, SDL may use fbcon|directfb|svgalib when run without
|
/* on Linux, SDL may use fbcon|directfb|svgalib when run without
|
||||||
* accessible $DISPLAY to open X11 window. This is often the case
|
* accessible $DISPLAY to open X11 window. This is often the case
|
||||||
|
|
Loading…
Reference in New Issue