[Bug 30641] New: wine silently replaces requests for thexture formats not supported by hardware with invalid requests

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 10 11:56:19 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30641

             Bug #: 30641
           Summary: wine silently replaces requests for thexture formats
                    not supported by hardware with invalid requests
           Product: Wine
           Version: 1.5.1
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: hramrach at gmail.com
    Classification: Unclassified


When running a d3d application using s3tc on drivers that don't have support
for that texture format wine gives lots of complaints like:

err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_VALUE
(0x501) from glTexImage2D @ surface.c / 2566
err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500)
from glTexSubImage2D @ surface.c / 2349

GL trace shows:

37923 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_ZERO,
width = 64, height = 64, border = 0, format = GL_ZERO, type = GL_ZERO, pixels =
NULL)
37923: warning: glGetError(glTexImage2D) = GL_INVALID_VALUE

This is totally useless and bogus.

1) no message is logged about the application using a format that is not
supported.

2) bogus format is used instead so nobody outside of wine can figure out WTF it
is the application tried to do that did not work.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list