Changeset 2970 for trunk/src/opengl/mesa/context.c
- Timestamp:
- Mar 2, 2000, 2:27:30 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/context.c
r2962 r2970 1 /* $Id: context.c,v 1. 2 2000-03-01 18:49:25 jeroenExp $ */1 /* $Id: context.c,v 1.3 2000-03-02 13:27:30 sandervl Exp $ */ 2 2 3 3 /* … … 149 149 #include "mthreads.h" /* Mesa platform independent threads interface*/ 150 150 151 #ifdef __WIN32OS2__ 152 //SvL: Initialize this struct 153 static MesaTSD mesa_ctx_tsd = {-1, -1}; 154 #else 151 155 static MesaTSD mesa_ctx_tsd; 156 #endif 152 157 153 158 static void mesa_ctx_thread_init() { … … 156 161 157 162 GLcontext *gl_get_thread_context( void ) { 163 #ifdef __WIN32OS2__ 164 return (GLcontext *) MesaGetTSD(&mesa_ctx_tsd, mesa_ctx_thread_init); 165 #else 158 166 return (GLcontext *) MesaGetTSD(&mesa_ctx_tsd); 167 #endif 159 168 } 160 169
Note:
See TracChangeset
for help on using the changeset viewer.