mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 15:40:04 +00:00
Add config.h to gl.c
This commit is contained in:
parent
5b58630bbb
commit
9da15e975e
2
gfx/gl.c
2
gfx/gl.c
@ -26,6 +26,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <string.h>
|
||||
#include "general.h"
|
||||
#include "config.h"
|
||||
|
||||
|
||||
#ifdef HAVE_CG
|
||||
@ -403,6 +404,7 @@ static void* gl_init(video_info_t *video, const input_driver_t **input)
|
||||
cg_active = false;
|
||||
if (strlen(g_settings.video.cg_shader_path) > 0)
|
||||
{
|
||||
SSNES_LOG("Loading Cg file: %s\n", g_settings.video.cg_shader_path);
|
||||
gl->cgCtx = cgCreateContext();
|
||||
if (gl->cgCtx == NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user