Add a unified cross platform OpenGL core profile binding (#52)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "SExposedVideoData.h"
|
||||
#include "SIrrCreationParameters.h"
|
||||
#include <string>
|
||||
|
||||
namespace irr
|
||||
{
|
||||
@@ -48,6 +49,9 @@ namespace video
|
||||
Note that only 1 thread at a time may access an OpenGL context. */
|
||||
virtual bool activateContext(const SExposedVideoData& videoData, bool restorePrimaryOnZero=false) =0;
|
||||
|
||||
//! Get the address of any OpenGL procedure (including core procedures).
|
||||
virtual void* getProcAddress(const std::string &procName) =0;
|
||||
|
||||
//! Swap buffers.
|
||||
virtual bool swapBuffers() =0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user