Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-07-15 03:26:38 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-07-15 03:26:38 +0400
commit95fbf8342319baa202269d6f2674e482888761c7 (patch)
tree70fbb4fa91b2330bc33cbb57a6ef2a9fbfa67c08 /source/blender/src/drawobject.c
parenta1fea54c185527a13aad3c3e5da81786fae3e13d (diff)
Apricot: GLSL
============= * Added options to disable lights, shaders, shadows, ramps, nodes and textures other than col/alpha for GLSL, in the Game menu. * These have python access too to switch them in game, but it doesn't work correct yet with display lists enabled. * Fix issue with light lagging behind, debug stats drawing in wrong color, and a number of other small fixes.
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 61b1e32a876..49005c32252 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -187,7 +187,7 @@ int set_gl_material_attribs(int nr, GPUVertexAttribs *attribs)
Material *mat = gpumatbuf[nr];
if(mat) {
- GPU_material_from_blender(mat);
+ GPU_material_from_blender(G.scene, mat);
if(mat->gpumaterial) {
GPU_material_vertex_attributes(mat->gpumaterial, attribs);