mirror of
https://github.com/glfw/glfw.git
synced 2024-11-28 21:12:02 +00:00
4295b77582
Set up the first of the Mir surface.
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
#include "internal.h"
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
////// GLFW platform API //////
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
_GLFWmonitor** _glfwPlatformGetMonitors(int* count)
|
|
{
|
|
// 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)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos)
|
|
{
|
|
}
|
|
|
|
GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* found)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
void _glfwPlatformGetVideoMode(_GLFWmonitor* monitor, GLFWvidmode* mode)
|
|
{
|
|
}
|
|
|
|
void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp)
|
|
{
|
|
// TODO
|
|
fprintf(stderr, "_glfwPlatformGetGammaRamp not implemented yet\n");
|
|
}
|
|
|
|
void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp)
|
|
{
|
|
// TODO
|
|
fprintf(stderr, "_glfwPlatformSetGammaRamp not implemented yet\n");
|
|
}
|