mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Fix return type of EGLRenderer::loadAndBuildShader()
This commit is contained in:
1 parent
fb9daf85ab
commit
29a280eb38
2 files changed
+2
-3
No files matched your search
@@ -268,8 +268,7 @@ void EGLRenderer::renderOverlay(Overlay::OverlayType type, int viewportWidth, in
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
|
||||
int EGLRenderer::loadAndBuildShader(int shaderType,
|
||||
const char *file) {
|
||||
GLuint EGLRenderer::loadAndBuildShader(int shaderType, const char *file) {
|
||||
GLuint shader = glCreateShader(shaderType);
|
||||
if (!shader) {
|
||||
EGL_LOG(Error, "Can't create shader: %d", glGetError());
|
||||
|
||||
Reference in new issue
Block a user