Add config.h to gl.c

This commit is contained in:
Themaister 2010-12-30 12:54:16 +01:00
parent 5b58630bbb
commit 9da15e975e

View File

@ -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)
{