History

update resource references to use Qt resource system

Stephen Birarda committed 12 years ago

Commit 403f91c1 parent cc554c528 files · +60 −378Browse files

Showing the changes to interface/src/renderer/TextureCache.cpp (1 of 28 files). Show all

Unified · Split

interface/src/renderer/TextureCache.cpp+0−1
@@ -106,7 +106,6 @@ GLuint TextureCache::getBlueTextureID() { · 105 unmodified lines
106GLuint TextureCache::getFileTextureID(const QString& filename) {106GLuint TextureCache::getFileTextureID(const QString& filename) {
107 GLuint id = _fileTextureIDs.value(filename);107 GLuint id = _fileTextureIDs.value(filename);
108 if (id == 0) {108 if (id == 0) {
109 switchToResourcesParentIfRequired();
110 QImage image = QImage(filename).convertToFormat(QImage::Format_ARGB32);109 QImage image = QImage(filename).convertToFormat(QImage::Format_ARGB32);
111 110
112 glGenTextures(1, &id);111 glGenTextures(1, &id);

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