mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
cleanup debugging and dead code
This commit is contained in:
parent
49cf29ce8f
commit
ae9ccb79ed
1 changed files with 2 additions and 1 deletions
|
@ -57,13 +57,14 @@ RenderableWebEntityItem::~RenderableWebEntityItem() {
|
|||
|
||||
void RenderableWebEntityItem::render(RenderArgs* args) {
|
||||
|
||||
// debug bounds on mac.
|
||||
#ifdef WANT_EXTRA_DEBUGGING
|
||||
{
|
||||
gpu::Batch& batch = *args->_batch;
|
||||
batch.setModelTransform(getTransformToCenter()); // we want to include the scale as well
|
||||
glm::vec4 cubeColor{ 1.0f, 0.0f, 0.0f, 1.0f};
|
||||
DependencyManager::get<DeferredLightingEffect>()->renderWireCube(batch, 1.0f, cubeColor);
|
||||
}
|
||||
#endif
|
||||
|
||||
QOpenGLContext * currentContext = QOpenGLContext::currentContext();
|
||||
QSurface * currentSurface = currentContext->surface();
|
||||
|
|
Loading…
Reference in a new issue