Fix build.

This commit is contained in:
castano
2010-05-28 07:45:11 +00:00
parent 3956d8a0c2
commit 1454cbac14
17 changed files with 347 additions and 367 deletions

View File

@ -57,7 +57,7 @@ struct MyAssertHandler : public nv::AssertHandler {
}
// Handler method, note that func might be NULL!
virtual int assert( const char *exp, const char *file, int line, const char *func ) {
virtual int assertion( const char *exp, const char *file, int line, const char *func ) {
fprintf(stderr, "Assertion failed: %s\nIn %s:%d\n", exp, file, line);
nv::debug::dumpInfo();
exit(1);

View File

@ -172,7 +172,7 @@ int main(int argc, char *argv[])
uint w = dds.width();
uint h = dds.height();
// @@ Clamp window size is texture larger than desktop?
// @@ Clamp window size if texture larger than desktop?
glutInit(&argc, argv);

View File

@ -23,7 +23,6 @@
#include <nvcore/StrLib.h>
#include <nvcore/StdStream.h>
#include <nvcore/Containers.h>
#include <nvimage/Image.h>
#include <nvimage/DirectDrawSurface.h>
@ -123,7 +122,7 @@ struct NormalError
vc = nv::normalize(2.0f * (vc / 255.0f) - 1.0f);
ade += acosf(nv::clamp(dot(vo, vc), -1.0f, 1.0f));
mse += length_squared((vo - vc) * (255 / 2.0f));
mse += lengthSquared((vo - vc) * (255 / 2.0f));
samples++;
}

View File

@ -24,7 +24,6 @@
#include <nvcore/Ptr.h>
#include <nvcore/StrLib.h>
#include <nvcore/StdStream.h>
#include <nvcore/Containers.h>
#include <nvimage/Image.h>
#include <nvimage/ImageIO.h>

View File

@ -24,7 +24,6 @@
#include <nvcore/Ptr.h>
#include <nvcore/StrLib.h>
#include <nvcore/StdStream.h>
#include <nvcore/Containers.h>
#include <nvimage/Image.h>
#include <nvimage/ImageIO.h>

File diff suppressed because it is too large Load Diff