mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
+1
-1
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
+2
-2
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user