Fixed colobot-lint warnings
parent
0ad53cc0d8
commit
1b21c387bb
|
@ -261,8 +261,6 @@ private:
|
||||||
//! Currently bound VAO
|
//! Currently bound VAO
|
||||||
GLuint m_currentVAO = 0;
|
GLuint m_currentVAO = 0;
|
||||||
|
|
||||||
//! Total memory allocated in textures
|
|
||||||
unsigned long m_textureMemory = 0;
|
|
||||||
//! Total memory allocated in VBOs
|
//! Total memory allocated in VBOs
|
||||||
unsigned long m_vboMemory = 0;
|
unsigned long m_vboMemory = 0;
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include "graphics/core/device.h"
|
#include "graphics/core/device.h"
|
||||||
|
|
||||||
#include "math/intpoint.h"
|
#include "math/intpoint.h"
|
||||||
|
#include "math/vector.h"
|
||||||
|
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
|
@ -60,7 +61,9 @@ int GetOpenGLVersion();
|
||||||
// \return First digit is major part, second digit is minor part.
|
// \return First digit is major part, second digit is minor part.
|
||||||
int GetOpenGLVersion(int &major, int &minor);
|
int GetOpenGLVersion(int &major, int &minor);
|
||||||
|
|
||||||
bool AreExtensionsSupported(std::string extensions);
|
//! Checks if extensions in space-delimited list are supported
|
||||||
|
// \return true if all extensions are supported
|
||||||
|
bool AreExtensionsSupported(std::string list);
|
||||||
|
|
||||||
//! Returns information about graphics card
|
//! Returns information about graphics card
|
||||||
std::string GetHardwareInfo(bool full = false);
|
std::string GetHardwareInfo(bool full = false);
|
||||||
|
|
Loading…
Reference in New Issue