diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 69454668a8..b908199351 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -168,7 +168,7 @@ static void gl_overlay_vertex_geom(void *data, if (image > gl->overlays) { - RARCH_ERR("Invalid overlay id: %u\n", image); + RARCH_ERR("[GL]: Invalid overlay id: %u\n", image); return; } @@ -416,7 +416,7 @@ static bool gl_shader_init(gl_t *gl) if (!gl) { - RARCH_ERR("Invalid GL instance passed.\n"); + RARCH_ERR("[GL]: Invalid GL instance passed.\n"); return false; } @@ -1668,7 +1668,7 @@ static void gl_init_pbo_readback(gl_t *gl) if (!scaler_ctx_gen_filter(scaler)) { gl->pbo_readback_enable = false; - RARCH_ERR("Failed to initialize pixel conversion for PBO.\n"); + RARCH_ERR("[GL]: Failed to initialize pixel conversion for PBO.\n"); glDeleteBuffers(4, gl->pbo_readback); } #endif @@ -1836,7 +1836,7 @@ static void gl_begin_debug(gl_t *gl) #endif } else - RARCH_ERR("Neither GL_KHR_debug nor GL_ARB_debug_output are implemented. Cannot start GL debugging.\n"); + RARCH_ERR("[GL]: Neither GL_KHR_debug nor GL_ARB_debug_output are implemented. Cannot start GL debugging.\n"); } #endif diff --git a/gfx/drivers/gl_renderchains/render_chain_gl_legacy.c b/gfx/drivers/gl_renderchains/render_chain_gl_legacy.c index a09dfdd9f3..8cdcf33efc 100644 --- a/gfx/drivers/gl_renderchains/render_chain_gl_legacy.c +++ b/gfx/drivers/gl_renderchains/render_chain_gl_legacy.c @@ -469,7 +469,7 @@ error: glDeleteFramebuffers(gl->fbo_pass, gl->fbo); if (gl->fbo_feedback) glDeleteFramebuffers(1, &gl->fbo_feedback); - RARCH_ERR("Failed to set up frame buffer objects. Multi-pass shading will not work.\n"); + RARCH_ERR("[GL]: Failed to set up frame buffer objects. Multi-pass shading will not work.\n"); return false; } @@ -742,7 +742,7 @@ void gl_renderchain_init(gl_t *gl, unsigned fbo_width, unsigned fbo_height) if (!gl_check_capability(GL_CAPS_FBO)) { - RARCH_ERR("Failed to locate FBO functions. Won't be able to use render-to-texture.\n"); + RARCH_ERR("[GL]: Failed to locate FBO functions. Won't be able to use render-to-texture.\n"); return; } @@ -808,7 +808,7 @@ void gl_renderchain_init(gl_t *gl, unsigned fbo_width, unsigned fbo_height) if (!gl_create_fbo_targets(gl)) { glDeleteTextures(gl->fbo_pass, gl->fbo_texture); - RARCH_ERR("Failed to create FBO targets. Will continue without FBO.\n"); + RARCH_ERR("[GL]: Failed to create FBO targets. Will continue without FBO.\n"); return; } @@ -966,12 +966,12 @@ bool gl_renderchain_add_lut(const struct video_shader *shader, if (!image_texture_load(&img, shader->lut[i].path)) { - RARCH_ERR("Failed to load texture image from: \"%s\"\n", + RARCH_ERR("[GL]: Failed to load texture image from: \"%s\"\n", shader->lut[i].path); return false; } - RARCH_LOG("Loaded texture image from: \"%s\" ...\n", + RARCH_LOG("[GL]: Loaded texture image from: \"%s\" ...\n", shader->lut[i].path); if (shader->lut[i].filter == RARCH_FILTER_NEAREST)