Compare commits

...

1 Commits

Author SHA1 Message Date
Frederic Laing
2740e5f3c0 Remove unnessesary nullptr check 2018-10-25 23:46:18 +02:00

View File

@@ -101,7 +101,7 @@ public:
void Create(const char* source, GLenum type) {
if (handle != 0)
return;
if (source == nullptr)
if (source)
return;
handle = GLShader::LoadShader(source, type);
}