misc: get rid of unnecessary log print

This commit is contained in:
Swung0x48 2025-02-09 09:49:26 +08:00
parent 0e56aa19f2
commit 4ce757c84d
4 changed files with 1 additions and 6 deletions

View File

@ -13,7 +13,6 @@
#define DEBUG 0
void init_target_egl() {
LOG_D("Initializing %s @ %s", RENDERERNAME, __FUNCTION__);
EGLDisplay eglDisplay = EGL_NO_DISPLAY;
EGLSurface eglSurface = EGL_NO_SURFACE;
EGLContext eglContext = EGL_NO_CONTEXT;

View File

@ -7,7 +7,6 @@
#include "mg.h"
#define GLOBAL_DEBUG 0
#define GLOBAL_DEBUG_FORCE_OFF 0
#if GLOBAL_DEBUG_FORCE_OFF
#define LOG() {}

View File

@ -171,11 +171,8 @@ void InitGLESCapabilities() {
}
void init_target_gles() {
LOG_D("Initializing %s @ %s", RENDERERNAME, __FUNCTION__);
LOG_D("Initializing %s @ gl_state", RENDERERNAME);
init_gl_state();
LOG_D("Initializing %s @ init_gles_func", RENDERERNAME);
memset(&g_gles_func, 0, sizeof(g_gles_func));
INIT_GLES_FUNC(glActiveTexture)
INIT_GLES_FUNC(glAttachShader)

View File

@ -57,8 +57,8 @@ void proc_init() {
init_config();
clear_log();
start_log();
LOG_V("Initializing %s ...", RENDERERNAME);
show_copyright();
LOG_V("Initializing %s @ %s", RENDERERNAME, __FUNCTION__);
load_libs();
init_target_egl();