Video input fallback
This commit is contained in:
@@ -19,11 +19,17 @@ public:
|
||||
|
||||
private:
|
||||
bool EnsureTextureProgram();
|
||||
bool EnsurePatternProgram();
|
||||
void DestroyTextureProgram();
|
||||
void DestroyPatternProgram();
|
||||
static bool CompileShader(GLenum shaderType, const char* source, GLuint& shader);
|
||||
|
||||
unsigned mWidth = 0;
|
||||
unsigned mHeight = 0;
|
||||
GLuint mPatternProgram = 0;
|
||||
GLuint mPatternVertexShader = 0;
|
||||
GLuint mPatternFragmentShader = 0;
|
||||
GLuint mPatternVertexArray = 0;
|
||||
GLuint mTextureProgram = 0;
|
||||
GLuint mTextureVertexShader = 0;
|
||||
GLuint mTextureFragmentShader = 0;
|
||||
|
||||
Reference in New Issue
Block a user