Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Oct 30, 2023
1 parent 6032272 commit 5e23aaf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions examples/simple_demo_qml/ThreadRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ TextureNode::TextureNode(QQuickWindow *_window)
, window(_window)
{
// Our texture node must have a texture, so use the default 0 texture.
// createTextureFromNativeObject()
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
# ifndef _WIN32
# pragma GCC diagnostic push
Expand All @@ -292,7 +291,6 @@ TextureNode::TextureNode(QQuickWindow *_window)
QSize(1, 1));
#endif


this->setTexture(this->texture);
this->setFiltering(QSGTexture::Linear);
}
Expand Down
1 change: 0 additions & 1 deletion ogre2/src/Ogre2Material.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,6 @@ void Ogre2Material::SetTextureMapDataImpl(const std::string& _name,
// upload raw color image data to gpu texture
Ogre::Image2 img;
img.loadDynamicImage(&data[0], false, texture);
// img.save(_name, 1, 1);
img.uploadTo(texture, 0, 0);
}

Expand Down

0 comments on commit 5e23aaf

Please sign in to comment.