Commit 9d530fda authored by Philip Trettner's avatar Philip Trettner

removed unused mip level parameter

parent 586b7ab6
......@@ -360,7 +360,7 @@ public:
void getData(GLenum format, GLenum type, size_t bufferSize, void* buffer#if $hasMipmaps #, int mipmapLevel = 0#end if #);
/// Data download via glm, tg, or c++ type (see gltypeinfo)
template <typename DataT>
std::vector<DataT> getData(int mipmapLevel = 0)
std::vector<DataT> getData(#if $hasMipmaps #int mipmapLevel = 0#end if #)
{
std::vector<DataT> data;
data.resize(#echo " * ".join(["texture->m" + P for P in $sizeMember]) #);
......
......@@ -173,7 +173,7 @@ public:
void getData(GLenum format, GLenum type, size_t bufferSize, void* buffer);
/// Data download via glm, tg, or c++ type (see gltypeinfo)
template <typename DataT>
std::vector<DataT> getData(int mipmapLevel = 0)
std::vector<DataT> getData()
{
std::vector<DataT> data;
data.resize(texture->mSize);
......
......@@ -245,7 +245,7 @@ public:
void getData(GLenum format, GLenum type, size_t bufferSize, void* buffer);
/// Data download via glm, tg, or c++ type (see gltypeinfo)
template <typename DataT>
std::vector<DataT> getData(int mipmapLevel = 0)
std::vector<DataT> getData()
{
std::vector<DataT> data;
data.resize(texture->mWidth * texture->mHeight);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment