mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Non-SDL: Add opengl3 support
This commit is contained in:
parent
87ac32edea
commit
4838eb2f7d
10 changed files with 107 additions and 139 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue