4jcraft/Minecraft.Client/Platform/stubs.cpp

116 lines
1.3 KiB
C++

#include "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