http://bugs.freedesktop.org/show_bug.cgi?id=13656
Summary: glCompressedTexImage2DARB/glGetTexImage: texture format
not set correctly
Product: Mesa
Version: CVS
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/FFB
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The following (1., 2.) sequence (level = 1):
0. ...
1. glTexImage2D(GL_TEXTURE_2D, level, internalFormat_a = GL_RGB, ..., *image)
// wipe out the existing texture image
2. glCompressedTexImage2DARB(GL_TEXTURE_2D, level, internalFormat_b =
GL_COMPRESSED_RGB_S3TC_DXT1_EXT , ..., *image)
causes that the following:
3. glGetTexImage (GL_TEXTURE_2D, level, ..., *image)
returns the texture image (sets, e.g. the FetchTexel2Df), assuming texture's
internalFormat_a (internally: texformat_argb8888) instead of internalFormat_b
(internally: texformat_rgb_dxt1). If level = 0, the example works O.K.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel