mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Warnings from build
This commit is contained in:
parent
f3bbd412d1
commit
be03859ed6
3 changed files with 1 additions and 4 deletions
|
@ -324,8 +324,6 @@ static const int THROTTLED_SIM_FRAME_PERIOD_MS = MSECS_PER_SECOND / THROTTLED_SI
|
||||||
static const int ENTITY_SERVER_ADDED_TIMEOUT = 5000;
|
static const int ENTITY_SERVER_ADDED_TIMEOUT = 5000;
|
||||||
static const int ENTITY_SERVER_CONNECTION_TIMEOUT = 5000;
|
static const int ENTITY_SERVER_CONNECTION_TIMEOUT = 5000;
|
||||||
|
|
||||||
static const uint32_t INVALID_FRAME = UINT32_MAX;
|
|
||||||
|
|
||||||
static const float INITIAL_QUERY_RADIUS = 10.0f; // priority radius for entities before physics enabled
|
static const float INITIAL_QUERY_RADIUS = 10.0f; // priority radius for entities before physics enabled
|
||||||
|
|
||||||
static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
|
||||||
|
|
|
@ -275,7 +275,6 @@ public:
|
||||||
int getMaxOctreePacketsPerSecond() const;
|
int getMaxOctreePacketsPerSecond() const;
|
||||||
|
|
||||||
render::ScenePointer getMain3DScene() override { return _graphicsEngine.getRenderScene(); }
|
render::ScenePointer getMain3DScene() override { return _graphicsEngine.getRenderScene(); }
|
||||||
const render::ScenePointer& getMain3DScene() const { return _graphicsEngine.getRenderScene(); }
|
|
||||||
render::EnginePointer getRenderEngine() override { return _graphicsEngine.getRenderEngine(); }
|
render::EnginePointer getRenderEngine() override { return _graphicsEngine.getRenderEngine(); }
|
||||||
gpu::ContextPointer getGPUContext() const { return _graphicsEngine.getGPUContext(); }
|
gpu::ContextPointer getGPUContext() const { return _graphicsEngine.getGPUContext(); }
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ void Basic2DWindowOpenGLDisplayPlugin::compositeExtra() {
|
||||||
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
||||||
|
|
||||||
batch.setResourceTexture(0, _virtualPadStickTexture);
|
batch.setResourceTexture(0, _virtualPadStickTexture);
|
||||||
batch.setModelTransform(stickTransform);
|
batch.setModelTransform(stickTransform);,
|
||||||
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
||||||
|
|
||||||
batch.setResourceTexture(0, _virtualPadJumpBtnTexture);
|
batch.setResourceTexture(0, _virtualPadJumpBtnTexture);
|
||||||
|
|
Loading…
Reference in a new issue