Revert "Don't show this warning when HAVE_SHADER_PIPELINE is not defined"

This reverts commit 431f1b4b7f.
This commit is contained in:
Twinaphex 2017-06-28 05:02:31 +02:00
parent 431f1b4b7f
commit d561c7ff2d

View File

@ -1008,9 +1008,7 @@ static void gl_cg_set_program_attributes(void *data, unsigned i)
static void *gl_cg_init(void *data, const char *path)
{
unsigned i;
#ifdef HAVE_SHADER_PIPELINE
struct shader_program_info shader_prog_info;
#endif
cg_shader_data_t *cg = (cg_shader_data_t*)
calloc(1, sizeof(cg_shader_data_t));