예제 #1
0
파일: main.cpp 프로젝트: datar-pl/vsxu
void stop() {
  if (texture) {
    texture->deinit_buffer();
    #ifdef VSXU_DEBUG
      printf("deleting texture\n");
    #endif
    delete texture;
    texture = 0;

    if (allocate_second_texture && texture2) {
      texture2->deinit_buffer();
      delete texture2;
      texture2 = 0;
    }
  }
}
예제 #2
0
파일: main.cpp 프로젝트: Spartan190/vsxu
 void stop()
 {
   if (texture)
   {
     texture->deinit_buffer();
     #ifdef VSXU_DEBUG
       printf("deleting texture\n");
     #endif
     delete texture;
     texture = 0;
   }
 }