prepare to handle other texture formats
required for DirectX 9...
This commit is contained in:
parent
540cbbd129
commit
394d5d6583
22 changed files with 131 additions and 24 deletions
|
|
@ -1476,7 +1476,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
}
|
||||
if (avail.x>=1 && avail.y>=1) {
|
||||
logD("recreating sample texture.");
|
||||
sampleTex=rend->createTexture(true,avail.x,avail.y);
|
||||
sampleTex=rend->createTexture(true,avail.x,avail.y,true,bestTexFormat);
|
||||
sampleTexW=avail.x;
|
||||
sampleTexH=avail.y;
|
||||
if (sampleTex==NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue