Blender Git Loki

Git Commits -> Revision 1513900

Revision 1513900 by Alexander Romanov (master)
August 9, 2016, 09:34 (GMT)
Bugfix. glDisable with bad enum argument in GPU_texture_unbind

Reported by @panzergame in D1414.

`glDisable` calls with bad enum argument `GL_TEXTURE_2D_MULTISAMPLE` that came from this line:
`tex->target = (n == 1) ? GL_TEXTURE_1D : (samples ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D);`

Reviewers: brecht

Reviewed By: brecht

Subscribers: AlexKowel, yurikovelenov, panzergame

Differential Revision: https://developer.blender.org/D2145

Commit Details:

Full Hash: 151390069a5bbddb15d1362ec1ac5722090e9231
Parent Commit: b53eca1
Lines Changed: +9, -7

1 Modified Path:

/source/blender/gpu/intern/gpu_texture.c (+9, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021