OpenGL3: Add version check helper

This commit is contained in:
numzero
2023-04-16 01:00:41 +03:00
committed by sfan5
parent 78d0819a2c
commit 2e477a07d1
2 changed files with 10 additions and 0 deletions

View File

@ -290,6 +290,8 @@ namespace video
virtual void initFeatures() = 0;
bool isVersionAtLeast(int major, int minor = 0) const noexcept;
void chooseMaterial2D();
ITexture* createDeviceDependentTexture(const io::path& name, IImage* image) override;