mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
parent
0a1225d0df
commit
f6defeff5d
|
@ -86,7 +86,7 @@ void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos)
|
||||||
*ypos = monitor->mir.y;
|
*ypos = monitor->mir.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FillInRGBBitsFromPixelFormat(GLFWvidmode* mode, MirPixelFormat const pf)
|
void FillInRGBBitsFromPixelFormat(GLFWvidmode* mode, const MirPixelFormat pf)
|
||||||
{
|
{
|
||||||
switch (pf)
|
switch (pf)
|
||||||
{
|
{
|
||||||
|
|
|
@ -702,7 +702,7 @@ int _glfwPlatformCreateCursor(_GLFWcursor* cursor,
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
char const* getSystemCursorName(int shape)
|
const char* getSystemCursorName(int shape)
|
||||||
{
|
{
|
||||||
switch (shape)
|
switch (shape)
|
||||||
{
|
{
|
||||||
|
@ -725,7 +725,7 @@ char const* getSystemCursorName(int shape)
|
||||||
|
|
||||||
int _glfwPlatformCreateStandardCursor(_GLFWcursor* cursor, int shape)
|
int _glfwPlatformCreateStandardCursor(_GLFWcursor* cursor, int shape)
|
||||||
{
|
{
|
||||||
char const* cursor_name = getSystemCursorName(shape);
|
const char* cursor_name = getSystemCursorName(shape);
|
||||||
|
|
||||||
if (cursor_name)
|
if (cursor_name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user