mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Non-SDL: Add opengl3 support
This commit is contained in:
@@ -433,14 +433,6 @@ long GetDictionaryLong(CFDictionaryRef theDict, const void *key)
|
||||
return value;
|
||||
}
|
||||
|
||||
namespace irr
|
||||
{
|
||||
namespace video
|
||||
{
|
||||
IVideoDriver *createOpenGLDriver(const SIrrlichtCreationParameters ¶m, io::IFileSystem *io, IContextManager *contextManager);
|
||||
}
|
||||
} // end namespace irr
|
||||
|
||||
static bool firstLaunch = true;
|
||||
|
||||
@implementation CIrrDelegateOSX {
|
||||
@@ -721,6 +713,7 @@ void CIrrDeviceMacOSX::createDriver()
|
||||
#endif
|
||||
break;
|
||||
|
||||
case video::EDT_OPENGL3:
|
||||
case video::EDT_OGLES2:
|
||||
os::Printer::log("This driver is not available on OSX.", ELL_ERROR);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user