Be more consistent in using the ARB forms of functions. Fixes #1138, based on patch by Echelon9.
This was SVN commit r10983.
This commit is contained in:
parent
8324a8981d
commit
9884d21830
@ -242,7 +242,7 @@ public:
|
||||
pglDeleteShader(m_FragmentShader);
|
||||
}
|
||||
|
||||
bool Compile(GLuint shader, const VfsPath& file, const CStr& code)
|
||||
bool Compile(GLhandleARB shader, const VfsPath& file, const CStr& code)
|
||||
{
|
||||
ogl_WarnIfError();
|
||||
|
||||
@ -480,9 +480,9 @@ private:
|
||||
VfsPath m_FragmentFile;
|
||||
std::map<CStr, CStr> m_Defines;
|
||||
|
||||
GLuint m_Program;
|
||||
GLuint m_VertexShader;
|
||||
GLuint m_FragmentShader;
|
||||
GLhandleARB m_Program;
|
||||
GLhandleARB m_VertexShader;
|
||||
GLhandleARB m_FragmentShader;
|
||||
|
||||
std::map<CStr, GLenum> m_UniformTypes;
|
||||
std::map<CStr, int> m_UniformLocations;
|
||||
|
Loading…
Reference in New Issue
Block a user