mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 07:05:34 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
66
Minecraft.Client/Source Files/stubs.cpp
Normal file
66
Minecraft.Client/Source Files/stubs.cpp
Normal file
@@ -0,0 +1,66 @@
|
||||
#include "../../Minecraft.World/Header Files/stdafx.h"
|
||||
|
||||
#if defined(__linux__)
|
||||
|
||||
void LinuxLogStubLightmapProbe() {
|
||||
static bool logged = false;
|
||||
if (logged) return;
|
||||
|
||||
logged = true;
|
||||
app.DebugPrintf(
|
||||
"[linux-lightmap] stubs.cpp: Linux excludes the no-op multitexture "
|
||||
"stubs in this file; the runtime uses libGL/4jlibs symbols.\n");
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void glReadPixels(int, int, int, int, int, int, ByteBuffer*) {}
|
||||
|
||||
void glClearDepth(double) {}
|
||||
|
||||
void glVertexPointer(int, int, int, int) {}
|
||||
|
||||
void glVertexPointer(int, int, FloatBuffer*) {}
|
||||
|
||||
void glTexCoordPointer(int, int, int, int) {}
|
||||
|
||||
void glTexCoordPointer(int, int, FloatBuffer*) {}
|
||||
|
||||
void glNormalPointer(int, int, int) {}
|
||||
|
||||
void glNormalPointer(int, ByteBuffer*) {}
|
||||
|
||||
void glEnableClientState(int) {}
|
||||
|
||||
void glDisableClientState(int) {}
|
||||
|
||||
void glColorPointer(int, int, int, int) {}
|
||||
|
||||
void glColorPointer(int, bool, int, ByteBuffer*) {}
|
||||
|
||||
void glDrawArrays(int, int, int) {}
|
||||
|
||||
void glNormal3f(float, float, float) {}
|
||||
|
||||
void glGenQueriesARB(IntBuffer*) {}
|
||||
|
||||
void glBeginQueryARB(int, int) {}
|
||||
|
||||
void glEndQueryARB(int) {}
|
||||
|
||||
void glGetQueryObjectuARB(int, int, IntBuffer*) {}
|
||||
|
||||
void glShadeModel(int) {}
|
||||
|
||||
void glColorMaterial(int, int) {}
|
||||
|
||||
// 1.8.2
|
||||
void glClientActiveTexture(int) {}
|
||||
|
||||
void glActiveTexture(int) {}
|
||||
|
||||
void glFlush() {}
|
||||
|
||||
void glTexGeni(int, int, int) {}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user