Blender Git Commit Log

Git Commits -> Revision 47e0d2b

Revision 47e0d2b by Mike Erwin (master)
April 16, 2017, 19:11 (GMT)
OpenGL: tweak GPU_texture_create_nD

- test for 2D textures first since it's the most common case
- declare variables close to where they're used
- fix compiler warning for proxy (uninitialized use)
- safe return if n != 1, 2, 3 (should never happen)
- white space

Commit Details:

Full Hash: 47e0d2b23528f280eaaf6adbbda7863c9e972dc2
Parent Commit: 8dcf7a4
Lines Changed: +32, -31

1 Modified Path:

/source/blender/gpu/intern/gpu_texture.c (+32, -31) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021