VirtualBox

Ignore:
Timestamp:
Aug 27, 2009 4:52:00 PM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: typo fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_gentextures.c

    r22535 r22538  
    9292    GLsizei tw, th;
    9393
    94     cr_server.head_spu->dispatch_table.GetTexLevelParameteriv(target, level, GL_TEXTURE_WIDTH, &width);
    95     cr_server.head_spu->dispatch_table.GetTexLevelParameteriv(target, level, GL_TEXTURE_HEIGHT, &height);
     94    cr_server.head_spu->dispatch_table.GetTexLevelParameteriv(target, level, GL_TEXTURE_WIDTH, &tw);
     95    cr_server.head_spu->dispatch_table.GetTexLevelParameteriv(target, level, GL_TEXTURE_HEIGHT, &th);
    9696
    9797    /* Workaround for a wine or ati bug. Host drivers crash unless we first provide texture bounds. */
    98     /* @todo: r=poetzsch: gcc warns here. tw & th is uninitialized in any case.
    99      * I guess they should be filled with the above two calls & compared
    100      * against the method params width & height! */
    10198    if (((tw!=width) || (th!=height)) && (internalFormat==GL_DEPTH_COMPONENT24))
    10299    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette