mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 03:25:45 +01:00
remove old/stale code from main.c
This commit is contained in:
10
src/main.c
10
src/main.c
@@ -1,21 +1,13 @@
|
|||||||
/* Copyright (c) 2025 Quinn
|
/* Copyright (c) 2025 Quinn
|
||||||
* Licensed under the MIT Licence. See LICENSE for details */
|
* Licensed under the MIT Licence. See LICENSE for details */
|
||||||
#define GLAD_GL_IMPLEMENTATION
|
|
||||||
#include <glad/gl.h>
|
|
||||||
#undef GLAD_GL_IMPLEMENTATION
|
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
#include <GLFW/glfw3.h>
|
||||||
|
#include <glad/gl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "io/window.h"
|
#include "io/window.h"
|
||||||
|
|
||||||
|
|
||||||
#define WIN_NAME "MCA Selector Lite"
|
|
||||||
#define WIN_DEFAULT_WIDTH 640
|
|
||||||
#define WIN_DEFAULT_HEIGHT 480
|
|
||||||
|
|
||||||
/* reroutes GLFW errors to our logging system. */
|
/* reroutes GLFW errors to our logging system. */
|
||||||
static void error_callback(int err, const char *const msg) {
|
static void error_callback(int err, const char *const msg) {
|
||||||
error("glfw returned (%i); \"%s\"", err, msg);
|
error("glfw returned (%i); \"%s\"", err, msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user