Bind texture-related extension functions. */
| 255 | |
| 256 | /** Bind texture-related extension functions. */ |
| 257 | static bool BindTextureExtensions() |
| 258 | { |
| 259 | if (IsOpenGLVersionAtLeast(1, 3)) { |
| 260 | if (!BindGLProc(_glActiveTexture, "glActiveTexture")) return false; |
| 261 | } else { |
| 262 | if (!BindGLProc(_glActiveTexture, "glActiveTextureARB")) return false; |
| 263 | } |
| 264 | |
| 265 | return true; |
| 266 | } |
| 267 | |
| 268 | /** Bind vertex buffer object extension functions. */ |
| 269 | static bool BindVBOExtension() |
no test coverage detected