nuke more unused stubs

This commit is contained in:
Tropical
2026-04-07 18:00:30 -05:00
parent 489ca2675d
commit d9f2cb03c7
5 changed files with 2 additions and 90 deletions
@@ -1626,11 +1626,3 @@ void glGetQueryObjectuARB_4J(int id, int pname, IntBuffer* params) {
void glGetFloat(int pname, FloatBuffer* params) {
glGetFloat_4J(pname, params);
}
void LinuxGLLogLightmapState(const char* stage, int textureId,
bool scaleLight) {
static int logCount = 0;
if (logCount >= 16) return;
++logCount;
fprintf(stderr, "[linux-lightmap] %s tex=%d scale=%d\n", stage, textureId,
scaleLight ? 1 : 0);
}
+2 -3
View File
@@ -1,6 +1,7 @@
#pragma once
#include <string>
#ifdef __linux__
#include <GL/gl.h>
#include <GL/glu.h>
@@ -39,8 +40,6 @@ void glEndQueryARB(int);
void glGetQueryObjectuARB(int, int, IntBuffer*);
void glReadPixels(int, int, int, int, int, int, ByteBuffer*);
void LinuxGLLogLightmapState(const char* stage, int textureId, bool scaleLight);
void LinuxLogStubLightmapProbe();
#else
const int GL_BYTE = 0;
@@ -289,7 +288,7 @@ public:
class Display {
public:
static bool isActive() { return true; }
static void update();
static void update() {}
static void swapBuffers();
static void destroy() {}
};