Fixed texture coordinate, thanks shash.

This commit is contained in:
evilynux 2007-04-18 03:41:42 +00:00
parent 08e5e7e605
commit 2dc8d4876b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $Id: opengl_collector_3Demu.c,v 1.1 2007-04-17 16:47:11 masscat Exp $ /* $Id: opengl_collector_3Demu.c,v 1.2 2007-04-18 03:41:42 evilynux Exp $
*/ */
/* /*
Copyright (C) 2006-2007 Ben Jaques, shash Copyright (C) 2006-2007 Ben Jaques, shash
@ -780,8 +780,8 @@ process_texcoord( struct render_state *state,
const u32 *parms) { const u32 *parms) {
LOG("texture coord %08x\n", parms[0]); LOG("texture coord %08x\n", parms[0]);
t_texture_coord = parms[0] >> 16; t_texture_coord = (s16)(parms[0] >> 16);
s_texture_coord = parms[0] & 0xFFFF; s_texture_coord = (s16)(parms[0] & 0xFFFF);
if ( texCoordinateTransform == 1) if ( texCoordinateTransform == 1)
{ {