Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebbfe59
)
ecere/gfx3D/Object3DSFormat: Fixed mistake breaking Big Endian platforms builds
author
Jerome St-Louis
<jerome@ecere.com>
Mon, 1 Oct 2012 21:27:23 +0000
(17:27 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Mon, 1 Oct 2012 21:27:23 +0000
(17:27 -0400)
ecere/src/gfx/3D/models/Object3DSFormat.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/3D/models/Object3DSFormat.ec
b/ecere/src/gfx/3D/models/Object3DSFormat.ec
index
49e533a
..
801596e
100644
(file)
--- a/
ecere/src/gfx/3D/models/Object3DSFormat.ec
+++ b/
ecere/src/gfx/3D/models/Object3DSFormat.ec
@@
-155,7
+155,7
@@
static uint16 ReadWORD(File f)
{
uint16 wordValue;
f.Read(&wordValue, sizeof(uint16), 1);
- BIGENDSWAP_WORD(
float
Value);
+ BIGENDSWAP_WORD(
word
Value);
return wordValue;
}
@@
-163,7
+163,7
@@
static uint ReadDWORD(File f)
{
uint dwordValue;
f.Read(&dwordValue, sizeof(uint), 1);
- BIGENDSWAP_DWORD(
float
Value);
+ BIGENDSWAP_DWORD(
dword
Value);
return dwordValue;
}