X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_rsurf.c;h=bec9823d0c1ff40253730b34c4ebf4942f5bb971;hp=cff28d66c9b6d4fb5570990808330b958420bf28;hb=aa33d8f8642530f7f266d6cde1422f95aa74b2be;hpb=60957c2f74fc42d2ab59e5973a469b2e9ee39824 diff --git a/gl_rsurf.c b/gl_rsurf.c index cff28d66..bec9823d 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -299,7 +299,7 @@ static void R_DrawPortal_Callback(const void *calldata1, int calldata2) int i; float *v; rmeshstate_t m; - const mportal_t *portal = calldata1; + const mportal_t *portal = (mportal_t *)calldata1; GL_BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); GL_DepthMask(false); GL_DepthTest(true);