#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "getopt.h"
Go to the source code of this file.
Enumerations | |
enum | Mode { LIST_MODE, TEST_MODE } |
Functions | |
static void | error_callback (int error, const char *description) |
static int | euclid (int a, int b) |
static const char * | format_mode (const GLFWvidmode *mode) |
static void | framebuffer_size_callback (GLFWwindow *window, int width, int height) |
static void | key_callback (GLFWwindow *window, int key, int scancode, int action, int mods) |
static void | list_modes (GLFWmonitor *monitor) |
int | main (int argc, char **argv) |
static void | test_modes (GLFWmonitor *monitor) |
static void | usage (void) |
enum Mode |
Enumerator | |
---|---|
LIST_MODE | |
TEST_MODE |
Definition at line 40 of file monitors.c.
|
static |
Definition at line 75 of file monitors.c.
|
static |
Definition at line 52 of file monitors.c.
|
static |
Definition at line 57 of file monitors.c.
|
static |
Definition at line 80 of file monitors.c.
|
static |
Definition at line 87 of file monitors.c.
|
static |
Definition at line 93 of file monitors.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 215 of file monitors.c.
|
static |
Definition at line 127 of file monitors.c.
Definition at line 46 of file monitors.c.