1. SDL_init()  在多个线程初始化的时候  , 在第二个线程出现SDL_init 崩溃的现象

   SDL init  错误码:0XFFFFFFFF

 

2. SDL_init() 如果只初始化一次

则出现第二个线程  SDL_createWindow 失败的错误

 

3. SDL_init()   同一个线程连续调用2次是OK的

 

4. 发现错误:

  SDL_GetError:OpenGL context already created

  SDL_createWindow 会同时创建OpenGL context 

 

 

5

相关文章:

  • 2021-07-21
  • 2021-06-10
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-08-10
猜你喜欢
  • 2021-09-23
  • 2022-02-12
  • 2022-01-13
  • 2022-01-29
  • 2022-02-09
  • 2021-10-25
  • 2021-12-26
相关资源
相似解决方案