mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 22:38:34 +00:00
Log vendor/renderer in GL.
This commit is contained in:
parent
eb95798016
commit
27399deed9
8
gfx/gl.c
8
gfx/gl.c
@ -1626,7 +1626,8 @@ static bool resolve_extensions(gl_t *gl)
|
||||
{
|
||||
#ifndef HAVE_OPENGLES
|
||||
gl->core_context = g_extern.system.hw_render_callback.context_type == RETRO_HW_CONTEXT_OPENGL_CORE;
|
||||
RARCH_LOG("[GL]: Using Core GL context.\n");
|
||||
if (gl->core_context)
|
||||
RARCH_LOG("[GL]: Using Core GL context.\n");
|
||||
if (gl->core_context &&
|
||||
!init_vao(gl))
|
||||
{
|
||||
@ -1868,6 +1869,11 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
RARCH_LOG("[GL]: Vendor: %s, Renderer: %s.\n", vendor, renderer);
|
||||
|
||||
rglgen_resolve_symbols(gl->ctx_driver->get_proc_address);
|
||||
|
||||
const char *vendor = (const char*)glGetString(GL_VENDOR);
|
||||
const char *renderer = (const char*)glGetString(GL_RENDERER);
|
||||
RARCH_LOG("[GL]: Vendor: %s, Renderer: %s.\n", vendor, renderer);
|
||||
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
if (!resolve_extensions(gl))
|
||||
|
Loading…
Reference in New Issue
Block a user