[SOLVED] createDeviceDependentTexture() parameters
Posted: Thu Feb 06, 2014 3:14 pm
I try to load GLES1 texture from file.
In CNullDriver.cpp I found this:
createDeviceDependentTexture() must take 3 parameters, but I see only 2. It has signature
Where is mipmapData parameter? Can can I pass 0 (null pointer) as 3rd parameters to this function if I don't need mipmaps?
In CNullDriver.cpp I found this:
Code: Select all
texture = createDeviceDependentTexture(image, hashName.size() ? hashName : file->getFileName() );
Code: Select all
ITexture* CNullDriver::createDeviceDependentTexture(IImage* surface, const io::path& name, void* mipmapData)
Code: Select all
texture = createDeviceDependentTexture(image, strName, 0);