Skip to content

Commit

Permalink
rgl: Return error when shader compilation failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 29, 2015
1 parent acd4c37 commit b321fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_GL/rgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ HRESULT CRender::shader_compile(
if (_pErrorMsgs)
Log("! error: ", _pErrorMsgs);

return S_FALSE;
return E_FAIL;
}

CHK_GL(glDeleteShader(shader));
Expand Down

0 comments on commit b321fd4

Please sign in to comment.