Path: blob/master/libmupen64plus/mupen64plus-video-z64/src/glshader.h
2 views
/*1* z642*3* Copyright (C) 2007 ziggy4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License along16* with this program; if not, write to the Free Software Foundation, Inc.,17* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.18*19**/2021#ifndef _GLSHADER_H_22#define _GLSHADER_H_2324#include "rdp.h"2526typedef struct {27GLhandleARB vs, fs, prog;28#ifdef RDP_DEBUG29const char * vsrc, * fsrc;30#endif31} rglShader_t;3233rglShader_t * rglCreateShader(const char * vsrc, const char * fsrc);34void rglUseShader(rglShader_t * shader);35void rglDeleteShader(rglShader_t * shader);3637#endif383940