Commit 6bfc9f00 authored by Johan Helsing's avatar Johan Helsing

Remove some debug code

parent bcc49064
Pipeline #3636 passed with stages
in 4 minutes and 34 seconds
......@@ -52,8 +52,6 @@ QDemonRenderTexture2D::QDemonRenderTexture2D(const QDemonRef<QDemonRenderContext
Q_ASSERT(!m_handle);
m_handle = reinterpret_cast<QDemonRenderBackend::QDemonRenderBackendTextureObject>(qsgTexture->textureId());
m_ownsTexture = false;
// m_handle = reinterpret_cast<QDemonRenderBackend::QDemonRenderBackendTextureObject>(1);
// m_format = qsgTexture->
m_texTarget = QDemonRenderTextureTargetType::Texture2D; // TODO: ok?
m_format = qsgTexture->hasAlphaChannel() ? QDemonRenderTextureFormat::RGBA8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment