mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
compile on win32
This commit is contained in:
parent
343408561a
commit
5f2d0db993
@ -5,7 +5,7 @@
|
||||
* bin2c -n rock_floor -static -string -o rock_floor_src.cxx /home/drose/fit/egg/rock-floor.rgb
|
||||
*/
|
||||
|
||||
static const char rock_floor[] = {
|
||||
static const unsigned char rock_floor[] = {
|
||||
0x01, 0xda, 0x01, 0x01, 0x00, 0x03, 0x01, 0x00, 0x01, 0x00, 0x00,
|
||||
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
@ -642,7 +642,7 @@ load_default_model(const NodePath &parent) {
|
||||
|
||||
// Get the default texture to apply to the triangle; it's compiled
|
||||
// into the code these days.
|
||||
string rock_floor_string(rock_floor, rock_floor_len);
|
||||
string rock_floor_string((const char *)rock_floor, rock_floor_len);
|
||||
istringstream rock_floor_strm(rock_floor_string);
|
||||
PNMImage rock_floor_pnm;
|
||||
if (rock_floor_pnm.read(rock_floor_strm, "rock-floor.rgb")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user