git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1347
d7cf8633-e32d-0410-b094-
e92efae38249
-#define BUILDNUMBER 605
+#define BUILDNUMBER 606
int buildnumber = BUILDNUMBER;
fracstep = inwidth*0x10000/outwidth;
for (i = 0;i < outheight;i++)
{
- inrow = indata + inwidth3*(i*inheight/outheight);
+ inrow = (byte *)indata + inwidth3*(i*inheight/outheight);
frac = fracstep >> 1;
j = outwidth - 4;
while (j >= 0)
static void *gl_getfuncaddress(char *name)
{
#ifdef WIN32
- return (void *) wglGetProcAddress(func->name);
+ return (void *) wglGetProcAddress(name);
#else
return (void *) dlsym(prjobj, name);
#endif