Skip to content

Commit

Permalink
comment out testing code
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed May 6, 2024
1 parent 5af4180 commit 2ea7bdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opengl/LVGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ void LVGLWidget<BaseWidget>::onDisplay()
const int32_t width = static_cast<int32_t>(BaseWidget::getWidth());
const int32_t height = static_cast<int32_t>(BaseWidget::getHeight());

glColor3f(1.f, 1.f, 1.f);
#if 0
glColor4f(1.f, 1.f, 1.f, 1.f);
glBegin(GL_QUADS);
{
glTexCoord2f(0.f, 0.f);
Expand All @@ -325,6 +326,7 @@ void LVGLWidget<BaseWidget>::onDisplay()
glVertex2d(0, height);
}
glEnd();
#endif

glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, lvglData->textureId);
Expand Down

0 comments on commit 2ea7bdd

Please sign in to comment.