[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/video sprite.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/video sprite.c |
Date: |
17 Jan 2004 05:10:42 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/17 05:10:42
Modified files:
src/video : sprite.c
Log message:
Clean up
Patches:
Index: stratagus/src/video/sprite.c
diff -u stratagus/src/video/sprite.c:1.64 stratagus/src/video/sprite.c:1.65
--- stratagus/src/video/sprite.c:1.64 Thu Jan 15 17:44:29 2004
+++ stratagus/src/video/sprite.c Sat Jan 17 05:10:41 2004
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: sprite.c,v 1.64 2004/01/15 06:44:29 jsalmon3 Exp $
+// $Id: sprite.c,v 1.65 2004/01/16 18:10:41 jsalmon3 Exp $
//@{
@@ -547,7 +547,7 @@
global Graphic* LoadSprite(const char* name, int width, int height)
{
#ifndef USE_OPENGL
- Graphic * g;
+ Graphic* g;
int nframes;
g = LoadGraphic(name);
@@ -561,7 +561,6 @@
return g;
#else
Graphic* graphic;
- int depth;
graphic = LoadGraphic(name);
if (!width) {
@@ -572,8 +571,6 @@
}
DebugCheck(width > graphic->Width || height > graphic->Height);
-
- depth = 8;
if (((graphic->Width / width) * width != graphic->Width) ||
((graphic->Height / height) * height !=
graphic->Height)) {
- [Stratagus-CVS] stratagus/src/video sprite.c,
address@hidden <=