openbsd-ports/games/openarena/patches/patch-code_renderer_tr_surface_c
jakemsr 313837a2ff * use the sndio backend from games/quake, since ao uses (essentially)
the same audio engine as quake
* use -pthread instead of -lpthread for pthreads linkage
* oa defines an ALIGN macro, rename it to QALIGN to avoid clashing
  with the ALIGN macro from machine/param.h
* use /dev/arandom instead of /dev/urandom
ok jasper@
2010-05-27 03:47:28 +00:00

19 lines
683 B
Plaintext

$OpenBSD: patch-code_renderer_tr_surface_c,v 1.1 2010/05/27 03:47:28 jakemsr Exp $
--- code/renderer/tr_surface.c.orig Mon May 3 04:42:28 2010
+++ code/renderer/tr_surface.c Mon May 3 04:42:47 2010
@@ -615,10 +615,10 @@ static void LerpMeshVertexes_altivec(md3Surface_t *sur
{
short *oldXyz, *newXyz, *oldNormals, *newNormals;
float *outXyz, *outNormal;
- float oldXyzScale ALIGN(16);
- float newXyzScale ALIGN(16);
- float oldNormalScale ALIGN(16);
- float newNormalScale ALIGN(16);
+ float oldXyzScale QALIGN(16);
+ float newXyzScale QALIGN(16);
+ float oldNormalScale QALIGN(16);
+ float newNormalScale QALIGN(16);
int vertNum;
unsigned lat, lng;
int numVerts;