History

Make TextureCache::getImageTexture static

Atlante45 committed 11 years ago

Commit a44054f1 parent ce613d46 files · +13 −15Browse files

Showing the changes to libraries/render-utils/src/TextureCache.cpp (1 of 6 files). Show all

Unified · Split

libraries/render-utils/src/TextureCache.cpp+1−1
@@ -296,7 +296,7 @@ GLuint TextureCache::getShadowDepthTextureID() { · 295 unmodified lines
296296 }
297297
298298 /// Returns a texture version of an image file
299−gpu::TexturePointer TextureCache::getImageTexture(const QString & path) {
299+gpu::TexturePointer TextureCache::getImageTexture(const QString& path) {
300300 QImage image = QImage(path).mirrored(false, true);
301301 gpu::Element formatGPU = gpu::Element(gpu::VEC3, gpu::UINT8, gpu::RGB);
302302 gpu::Element formatMip = gpu::Element(gpu::VEC3, gpu::UINT8, gpu::RGB);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t