Initial pass of setting up a Win32 window for GL drawing.

This also initialises Core#1 with a primary context for drawing,
and Core#0, Core#2 with secondary context's sharing display lists
with Core#1.
This commit is contained in:
Brett Lawson
2015-08-02 10:49:53 -03:00
parent e58b793dfa
commit 8fd5547669
5 changed files with 205 additions and 3 deletions

View File

@@ -69,6 +69,9 @@ void
Processor::coreEntryPoint(Core *core)
{
tCurrentCore = core;
platform::ui::initialiseCore(core->id);
core->primaryFiber = ConvertThreadToFiber(NULL);
while (mRunning) {