SDL2.0很多新的修改
来源:互联网 发布:管家婆211端口 编辑:程序博客网 时间:2024/04/30 18:18
A short cheat sheet where some of the old functions and other stuff went:
SDL_SetVideoMode(): use SDL_CreateWindow() instead (along with SDL_CreateRenderer() if you want to do classic 2D rendering and not OpenGL)
SDL_ListModes(): use SDL_GetDisplayMode()/SDL_GetNumDisplayModes() instead
SDL_UpdateRect()/SDL_Flip(): use SDL_RenderPresent() instead
SDL_Surface/2D rendering: surfaces still exist, but it is recommended that instead of using SDL_Surfaces, you use SDL_Textures with an 2D accelerated renderer (SDL_CreateRenderer()) where possible
SDL_VideoInfo: use SDL_GetRendererInfo()/SDL_GetRenderDriverInfo() instead
SDL_GetCurrentVideoDisplay(): use SDL_GetWindowDisplayIndex() instead
SDL_VIDEORESIZE event: the new equivalent is SDL_WINDOWEVENT_RESIZE
- SDL2.0很多新的修改
- SDL2.0
- ffmpegturtor06.c做了修改,使用sdl2.0
- 一个SDL2.0程序的分析
- SDL2.0 ubuntu complie
- SDL2.0上手试用
- ffmpeg and SDL2.0
- SDL2.0上手试用
- SDL2.0 播放YUV
- sdl2.0示例
- sdl2.0_opencv
- SDL2.0+ffmpeg2.3
- SDL2.0_01_hello world!
- SDL2.0_02_functions
- SDL2.0_03_SDL_image Library
- SDL2.0_04_event
- SDL2.0_05_sprite sheet
- SDL2.0_06_text
- 加在self.tabbarcontroller.view上的屏保页面拖动效果实现
- C++构造函数、拷贝构造函数、赋值运算符漫谈(二)——函数返回值
- 在 VMware ESXi 上安装 Minix
- 线程同步的方法 MFC
- Linux sqlite3基本命令
- SDL2.0很多新的修改
- oracle expdp
- JDK中的URLConnection参数详解
- 从std::string转换为LPCWSTR
- 深入struts2(三)---工作机制和执行流程图
- 指针数组和数组指针的区别
- 传统企业的O2O闭环打造:你也可以做到苹果那样
- POJ 1664 放苹果(DFS)
- CC2530定时器使用