mirror of
https://github.com/SSimco/Cemu.git
synced 2024-11-23 13:29:38 +00:00
switched cafeLog_logLine() with cemuLog_log()
This commit is contained in:
parent
18a266155f
commit
a7f6043205
@ -20,7 +20,7 @@ bool gxShader_checkIfSuccessfullyLinked(GLuint glProgram)
|
||||
glGetProgramInfoLog(glProgram, std::min(tempLength, infoLogLength), (GLsizei*)&tempLength, (GLcharARB*)infoLog);
|
||||
infoLog[tempLength] = '\0';
|
||||
forceLog_printf("Link error in raw shader");
|
||||
cafeLog_logLine(LOG_TYPE_FORCE, infoLog);
|
||||
cemuLog_log(LogType::Force, infoLog);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -193,7 +193,7 @@ bool RendererShaderGL::WaitForCompiled()
|
||||
glGetShaderInfoLog(m_shader_object, std::min(infoLogLength, tempLength), (GLsizei*)&tempLength, (GLcharARB*)infoLog);
|
||||
infoLog[tempLength] = '\0';
|
||||
forceLog_printf("Compile error in shader. Log:", infoLog);
|
||||
cafeLog_logLine(LOG_TYPE_FORCE, infoLog);
|
||||
cemuLog_log(LogType::Force, infoLog);
|
||||
}
|
||||
if (m_shader_object != 0)
|
||||
glDeleteShader(m_shader_object);
|
||||
@ -213,7 +213,7 @@ bool RendererShaderGL::WaitForCompiled()
|
||||
glGetProgramInfoLog(m_program, std::min(infoLogLength, tempLength), (GLsizei*)&tempLength, (GLcharARB*)infoLog);
|
||||
infoLog[tempLength] = '\0';
|
||||
forceLog_printf("Link error in shader. Log:", infoLog);
|
||||
cafeLog_logLine(LOG_TYPE_FORCE, infoLog);
|
||||
cemuLog_log(LogType::Force, infoLog);
|
||||
}
|
||||
m_isCompiled = true;
|
||||
return false;
|
||||
|
@ -80,7 +80,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL DebugUtilsCallback(VkDebugUtilsMessageSeverityFla
|
||||
|
||||
#endif
|
||||
|
||||
cafeLog_logLine(LOG_TYPE_FORCE, (char*)pCallbackData->pMessage);
|
||||
cemuLog_log(LogType::Force, (char*)pCallbackData->pMessage);
|
||||
|
||||
return VK_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user