mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 21:56:14 +02:00
Fix warnings
This commit is contained in:
parent
51fc43ea4c
commit
cba8b0962d
2 changed files with 3 additions and 5 deletions
|
@ -339,8 +339,6 @@ GLBackend::GLTexture* GLBackend::syncGPUObject(const Texture& texture) {
|
||||||
|
|
||||||
GLTexelFormat texelFormat = GLTexelFormat::evalGLTexelFormat(texture.getTexelFormat(), srcFormat);
|
GLTexelFormat texelFormat = GLTexelFormat::evalGLTexelFormat(texture.getTexelFormat(), srcFormat);
|
||||||
|
|
||||||
auto semantic = texture.getTexelFormat().getSemantic();
|
|
||||||
|
|
||||||
glTexImage2D(GL_TEXTURE_2D, 0,
|
glTexImage2D(GL_TEXTURE_2D, 0,
|
||||||
texelFormat.internalFormat, texture.getWidth(), texture.getHeight(), 0,
|
texelFormat.internalFormat, texture.getWidth(), texture.getHeight(), 0,
|
||||||
texelFormat.format, texelFormat.type, bytes);
|
texelFormat.format, texelFormat.type, bytes);
|
||||||
|
|
|
@ -68,10 +68,10 @@ const float DEFAULT_REACH_LENGTH = 1.5f;
|
||||||
|
|
||||||
SixenseManager::SixenseManager() :
|
SixenseManager::SixenseManager() :
|
||||||
InputDevice("Hydra"),
|
InputDevice("Hydra"),
|
||||||
#ifdef __APPLE__
|
|
||||||
_sixenseLibrary(NULL),
|
|
||||||
#endif
|
|
||||||
_reachLength(DEFAULT_REACH_LENGTH),
|
_reachLength(DEFAULT_REACH_LENGTH),
|
||||||
|
#ifdef __APPLE__
|
||||||
|
_sixenseLibrary(nullptr),
|
||||||
|
#endif
|
||||||
_hydrasConnected(false)
|
_hydrasConnected(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue