GL/Program: Add IsBound() method

This commit is contained in:
Connor McLaughlin
2019-12-07 01:36:14 +10:00
parent 8d7b93766d
commit b53e32e84f
2 changed files with 7 additions and 4 deletions

View File

@ -5,11 +5,11 @@
#include <fstream>
Log_SetChannel(GL);
static u32 s_next_bad_shader_id = 1;
static GLuint s_last_program_id = 0;
namespace GL {
GLuint Program::s_last_program_id = 0;
static GLuint s_next_bad_shader_id = 1;
Program::Program() = default;
Program::~Program()