mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 08:23:13 +00:00
Wayland: Clean up pointer declarations
Adapt style to match the rest of the project.
(cherry picked from commit 4506175023)
This commit is contained in:
+6
-6
@@ -46,7 +46,7 @@ static void outputHandleGeometry(void* data,
|
||||
const char* model,
|
||||
int32_t transform)
|
||||
{
|
||||
struct _GLFWmonitor *monitor = data;
|
||||
struct _GLFWmonitor* monitor = data;
|
||||
|
||||
monitor->wl.x = x;
|
||||
monitor->wl.y = y;
|
||||
@@ -63,7 +63,7 @@ static void outputHandleMode(void* data,
|
||||
int32_t height,
|
||||
int32_t refresh)
|
||||
{
|
||||
struct _GLFWmonitor *monitor = data;
|
||||
struct _GLFWmonitor* monitor = data;
|
||||
GLFWvidmode mode;
|
||||
|
||||
mode.width = width;
|
||||
@@ -84,7 +84,7 @@ static void outputHandleMode(void* data,
|
||||
|
||||
static void outputHandleDone(void* data, struct wl_output* output)
|
||||
{
|
||||
struct _GLFWmonitor *monitor = data;
|
||||
struct _GLFWmonitor* monitor = data;
|
||||
|
||||
if (monitor->widthMM <= 0 || monitor->heightMM <= 0)
|
||||
{
|
||||
@@ -101,7 +101,7 @@ static void outputHandleScale(void* data,
|
||||
struct wl_output* output,
|
||||
int32_t factor)
|
||||
{
|
||||
struct _GLFWmonitor *monitor = data;
|
||||
struct _GLFWmonitor* monitor = data;
|
||||
|
||||
monitor->wl.scale = factor;
|
||||
}
|
||||
@@ -120,8 +120,8 @@ static const struct wl_output_listener outputListener = {
|
||||
|
||||
void _glfwAddOutputWayland(uint32_t name, uint32_t version)
|
||||
{
|
||||
_GLFWmonitor *monitor;
|
||||
struct wl_output *output;
|
||||
_GLFWmonitor* monitor;
|
||||
struct wl_output* output;
|
||||
|
||||
if (version < 2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user