VirtualBox

Changeset 35919 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Feb 9, 2011 4:29:22 PM (14 years ago)
Author:
vboxsync
Message:

crOpenGL: fix deadlock for apps passing invalid args to TexParameter[fi]v

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/packer/pack_texture.c

    r33475 r35919  
    522522    CR_GET_PACKER_CONTEXT(pc);
    523523    if (__handleTexParameterData(target, pname, params))
     524    {
    524525        WRITE_OPCODE(pc, CR_TEXPARAMETERFV_OPCODE);
    525     CR_UNLOCK_PACKER_CONTEXT(pc);
     526        CR_UNLOCK_PACKER_CONTEXT(pc);
     527    }
    526528}
    527529
     
    531533    CR_GET_PACKER_CONTEXT(pc);
    532534    if (__handleTexParameterData(target, pname, (GLfloat *) params))
     535    {
    533536        WRITE_OPCODE(pc, CR_TEXPARAMETERIV_OPCODE);
    534     CR_UNLOCK_PACKER_CONTEXT(pc);
     537        CR_UNLOCK_PACKER_CONTEXT(pc);
     538    }
    535539}
    536540
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