~ubuntu-branches/ubuntu/quantal/virtualbox/quantal

« back to all changes in this revision

Viewing changes to src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-04-05 12:41:55 UTC
  • mfrom: (3.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120405124155-i7b39tv5ddwhubbe
Tags: 4.1.12-dfsg-2
* Upstream has replaced the 4.1.12 tarball with a new one that fixes a
  crash when creating host only interfaces. (Closes: #667460)
  - Add 36-tarball-respin.patch which contains the diff between the old
    and the new tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1255
1255
    {
1256
1256
        case DLL_THREAD_ATTACH:
1257
1257
        {
1258
 
            crStateOnThreadAttachDetach(GL_TRUE);
 
1258
            crStateVBoxAttachThread();
1259
1259
            break;
1260
1260
        }
1261
1261
 
 
1262
        case DLL_PROCESS_DETACH:
 
1263
        /* do exactly the same thing as for DLL_THREAD_DETACH since
 
1264
         * DLL_THREAD_DETACH is not called for the thread doing DLL_PROCESS_DETACH according to msdn docs */
1262
1265
        case DLL_THREAD_DETACH:
1263
1266
        {
1264
 
            crStateOnThreadAttachDetach(GL_FALSE);
 
1267
            crStateVBoxDetachThread();
1265
1268
            break;
1266
1269
        }
1267
1270
 
1268
1271
        case DLL_PROCESS_ATTACH:
1269
 
        case DLL_PROCESS_DETACH:
1270
1272
        default:
1271
1273
            break;
1272
1274
    }