1
0

Add missing parameters in CEAGLManager::activateContext.

Thanks to Maksym Hamarnyk for the patch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6118 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2020-06-13 14:49:38 +00:00
parent 562c0fb6f1
commit 87c0b1fb93
2 changed files with 38 additions and 38 deletions

View File

@@ -54,7 +54,7 @@ namespace video
const SExposedVideoData& getContext() const;
bool activateContext(const SExposedVideoData& videoData);
bool activateContext(const SExposedVideoData& videoData, bool restorePrimaryOnZero);
// Swap buffers.
bool swapBuffers();
@@ -62,22 +62,22 @@ namespace video
private:
SIrrlichtCreationParameters Params;
SExposedVideoData Data;
bool Configured;
void* DataStorage;
struct SFrameBuffer
{
SFrameBuffer() : BufferID(0), ColorBuffer(0), DepthBuffer(0)
{
}
u32 BufferID;
u32 ColorBuffer;
u32 DepthBuffer;
};
SFrameBuffer FrameBuffer;
};
}