Changeset 31007 in vbox
- Timestamp:
- Jul 22, 2010 3:21:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r31003 r31007 470 470 int VBoxVHWAGlShader::init() 471 471 { 472 int rc = VERR_GENERAL_FAILURE;472 int rc; 473 473 GLint *length; 474 474 const char **sources; … … 481 481 AssertRC(rc); 482 482 if(RT_FAILURE(rc)) 483 goto exit;483 return rc; 484 484 sources[i] = maComponents[i]->contents(); 485 485 } … … 512 512 vboxglGetShaderInfoLog(mShader, 16300, NULL, pBuf); 513 513 VBOXQGLLOG(("\ncompile log:\n-----------\n%s\n---------\n", pBuf)); 514 delete []pBuf;514 delete pBuf; 515 515 #endif 516 516 … … 518 518 if(compiled) 519 519 { 520 rc = VINF_SUCCESS; 521 goto exit; 520 return VINF_SUCCESS; 522 521 } 523 522 … … 528 527 mShader = 0; 529 528 530 exit:531 529 delete[] length; 532 530 delete[] sources; 533 return rc;531 return VERR_GENERAL_FAILURE; 534 532 } 535 533
Note:
See TracChangeset
for help on using the changeset viewer.

