OpenGL3: new version format

This commit is contained in:
numzero
2023-04-15 16:52:15 +03:00
committed by sfan5
parent c4ab49201b
commit 1d782702e1
7 changed files with 65 additions and 4 deletions

View File

@ -8,11 +8,17 @@
namespace irr {
namespace video {
/// OpenGL ES 2+ driver
///
/// For OpenGL ES 2.0 and higher.
class COpenGLES2Driver : public COpenGL3DriverBase {
friend IVideoDriver* createOGLES2Driver(const SIrrlichtCreationParameters& params, io::IFileSystem* io, IContextManager* contextManager);
public:
using COpenGL3DriverBase::COpenGL3DriverBase;
E_DRIVER_TYPE getDriverType() const override;
protected:
OpenGLVersion getVersionFromOpenGL() const override;
};
}