Create 2.0.7 release.

This commit is contained in:
castano
2009-11-04 08:58:19 +00:00
parent 2f0fe5149f
commit 69363fcc92
339 changed files with 10642 additions and 24928 deletions

View File

@ -1,13 +1,12 @@
// This code is in the public domain -- castanyo@yahoo.es
#include <nvimage/Image.h>
#include <nvimage/ImageIO.h>
#include <nvmath/Color.h>
#include <nvcore/Debug.h>
#include <nvcore/Ptr.h>
#include <nvcore/Containers.h> // swap
#include <nvmath/Color.h>
#include <nvimage/Image.h>
#include <nvimage/ImageIO.h>
using namespace nv;
@ -41,7 +40,7 @@ void Image::allocate(uint w, uint h)
{
m_width = w;
m_height = h;
m_data = (Color32 *)nv::mem::realloc(m_data, w * h * sizeof(Color32));
m_data = (Color32 *)realloc(m_data, w * h * sizeof(Color32));
}
bool Image::load(const char * name)