Final fix
This commit is contained in:
parent
d3f2fa9784
commit
f704826bdd
6 changed files with 2 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 9.0.2, 2024-07-05T21:26:06. -->
|
||||
<!-- Written by QtCreator 9.0.2, 2024-07-06T19:18:20. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
|
|
|
@ -181,7 +181,7 @@ void HorizontalSliceRenderer::drawImage(QMatrix4x4 mvpMatrix) {
|
|||
shaderProgramTexture.bind();
|
||||
frameArrayObject.bind();
|
||||
shaderProgramTexture.setUniformValue("mvpMatrix", mvpMatrix);
|
||||
texture.bind(0);
|
||||
|
||||
QOpenGLFunctions *f = QOpenGLContext::currentContext()->functions();
|
||||
f->glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
|
||||
|
||||
|
|
Loading…
Reference in a new issue