mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 02:33:23 +02:00
Added debug message for uncomressed texture on GLES
This commit is contained in:
parent
0f59059490
commit
87cb04d79e
1 changed files with 2 additions and 0 deletions
|
@ -927,6 +927,7 @@ gpu::TexturePointer TextureUsage::process2DTextureColorFromImage(Image&& srcImag
|
|||
} else {
|
||||
if (target == BackendTarget::GLES32) {
|
||||
//TODO: is this correct? It seems that no format is set for uncompressed texture on GLES
|
||||
qDebug() << "TextureUsage::process2DTextureColorFromImage: no format is set for uncompressed texture on GLES";
|
||||
} else {
|
||||
formatGPU = gpu::Element::COLOR_SRGBA_32;
|
||||
formatMip = gpu::Element::COLOR_SBGRA_32;
|
||||
|
@ -986,6 +987,7 @@ gpu::TexturePointer TextureUsage::process2DHDRTextureColorFromImage(Image&& srcI
|
|||
formatMip = formatGPU;
|
||||
} else {
|
||||
//TODO: is this correct? It seems that no format is set for uncompressed texture on GLES
|
||||
qDebug() << "TextureUsage::process2DHDRTextureColorFromImage: no format is set for uncompressed texture on GLES";
|
||||
}
|
||||
} else {
|
||||
formatMip = formatGPU = getHDRTextureFormatForTarget(target, compress);
|
||||
|
|
Loading…
Reference in a new issue