Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/GUI/GUISplash.cpp

Diff revisions: vs.
  @@ -12,12 +12,18 @@
12 12 _renderQuad = CreateResource<Quad3D>(mrt);
13 13 assert(_renderQuad);
14 14 _renderQuad->setDimensions(vec4<F32>(0,0,dimensions.width,dimensions.height));
15 + SamplerDescriptor splashSampler;
16 + splashSampler.toggleMipMaps(true);
17 + splashSampler.setAnisotrophy(16);
18 + splashSampler.setWrapMode(TEXTURE_CLAMP);
15 19 ResourceDescriptor splashImage("SplashScreen Texture");
16 20 splashImage.setFlag(true);
17 21 splashImage.setThreadedLoading(false);
22 + splashImage.setPropertyDescriptor<SamplerDescriptor>(splashSampler);
18 23 std::string splashImageLocation = ParamHandler::getInstance().getParam<std::string>("assetsLocation") + "/misc_images/";
19 24 splashImageLocation += splashImageName;
20 25 splashImage.setResourceLocation(splashImageLocation);
26 +
21 27 _splashImage = CreateResource<Texture>(splashImage);
22 28 ResourceDescriptor splashShader("fboPreview");
23 29 splashShader.setThreadedLoading(false);