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