diff --git a/images/sphere.png b/images/sphere.png new file mode 100644 index 0000000000..5604d5d9df Binary files /dev/null and b/images/sphere.png differ diff --git a/interface.xcodeproj/project.pbxproj b/interface.xcodeproj/project.pbxproj index 317a2fcca3..2e363eab4c 100644 --- a/interface.xcodeproj/project.pbxproj +++ b/interface.xcodeproj/project.pbxproj @@ -27,6 +27,7 @@ F68135691648830D003040E3 /* pngtest8rgba.png in CopyFiles */ = {isa = PBXBuildFile; fileRef = F681356816487A7F003040E3 /* pngtest8rgba.png */; }; F681356E16488470003040E3 /* philip-image.png in CopyFiles */ = {isa = PBXBuildFile; fileRef = F681356D1648846A003040E3 /* philip-image.png */; }; F681358B1648896D003040E3 /* lodepng.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F681358A1648896D003040E3 /* lodepng.cpp */; }; + F68135971649CF41003040E3 /* sphere.png in CopyFiles */ = {isa = PBXBuildFile; fileRef = F68135951649CF38003040E3 /* sphere.png */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -36,6 +37,7 @@ dstPath = ""; dstSubfolderSpec = 16; files = ( + F68135971649CF41003040E3 /* sphere.png in CopyFiles */, F681356E16488470003040E3 /* philip-image.png in CopyFiles */, F68135691648830D003040E3 /* pngtest8rgba.png in CopyFiles */, ); @@ -77,6 +79,7 @@ F681356D1648846A003040E3 /* philip-image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "philip-image.png"; sourceTree = ""; }; F681358A1648896D003040E3 /* lodepng.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lodepng.cpp; sourceTree = ""; }; F681358C16488978003040E3 /* lodepng.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lodepng.h; sourceTree = ""; }; + F68135951649CF38003040E3 /* sphere.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = sphere.png; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -171,6 +174,7 @@ F681356716487A7F003040E3 /* images */ = { isa = PBXGroup; children = ( + F68135951649CF38003040E3 /* sphere.png */, F681356D1648846A003040E3 /* philip-image.png */, F681356816487A7F003040E3 /* pngtest8rgba.png */, ); diff --git a/main.cpp b/main.cpp index 2134f2a60c..d0f58d68a9 100644 --- a/main.cpp +++ b/main.cpp @@ -606,7 +606,7 @@ void display(void) but texture origin is at upper left => it has to be mirrored */ - char texture_filename[] = "pngtest8rgba.png"; + char texture_filename[] = "sphere.png"; unsigned int texture_width = 91; unsigned int texture_height = 69;