mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Add config.h to gl.c
This commit is contained in:
parent
5b58630bbb
commit
9da15e975e
1 changed files with 2 additions and 0 deletions
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…
Add table
Reference in a new issue