1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 04:35:28 +08:00

测试代码高亮

This commit is contained in:
gjy_管
2015-06-15 19:26:14 +08:00
parent 6b349ea396
commit 5da5c24816

View File

@@ -43,7 +43,7 @@ OpenGL的一大特性就是对扩展的支持当一个显卡公司提出一
使用扩展的代码大多看上去如下:
```c++
```c++
if(GL_ARB_extension_name)
{
// Do cool new and modern stuff supported by hardware
@@ -52,7 +52,7 @@ OpenGL的一大特性就是对扩展的支持当一个显卡公司提出一
{
// Extension not supported: do it the old way
}
```
```
使用OpenGL3.3时,我们很少需要使用扩展来完成大多数功能,但是掌握这种方式是必须的。