mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 00:49:48 +00:00
Set up the Mir connection.
Set up the first of the Mir surface.
This commit is contained in:
committed by
Camilla Berglund
parent
46c9663ed7
commit
4295b77582
+5
-1
@@ -1,6 +1,7 @@
|
||||
#include "internal.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
////// GLFW platform API //////
|
||||
@@ -8,7 +9,10 @@
|
||||
|
||||
_GLFWmonitor** _glfwPlatformGetMonitors(int* count)
|
||||
{
|
||||
return NULL;
|
||||
// FIXME Work out the best way to get this from mir, as we'll end up looping
|
||||
// through all of that info... best to store it before we get here.
|
||||
_GLFWmonitor** monitors = calloc(1, sizeof(_GLFWmonitor*));
|
||||
return monitors;
|
||||
}
|
||||
|
||||
GLboolean _glfwPlatformIsSameMonitor(_GLFWmonitor* first, _GLFWmonitor* second)
|
||||
|
||||
Reference in New Issue
Block a user