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:
authorErwin Coumans <blender@erwincoumans.com>2008-10-12 00:54:18 +0400
committerErwin Coumans <blender@erwincoumans.com>2008-10-12 00:54:18 +0400
commitffa67424a914caf4d2c1194044c83c904c7ea52b (patch)
treed4a9e07f2a2ba5b7b290c6747ad4b28b2047ed20
parent3cac11a3a2e61555c48c559f9caa61b1787e9ddb (diff)
prevent crash in gpu_draw.c, so tilemode might not have GLSL/GPU features
/* for tiles, copy only part of image into buffer */ if (GTS.tilemode) { return 0; //disabled for now, it causes crashes See tracker issue here: http://projects.blender.org/tracker/index.php?func=detail&aid=17819&group_id=9&atid=125
-rw-r--r--source/blender/gpu/intern/gpu_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index 85a1a059b75..8fcf0457812 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -448,6 +448,9 @@ int GPU_verify_image(Image *ima, int tftile, int tfmode, int compare)
/* for tiles, copy only part of image into buffer */
if (GTS.tilemode) {
+ return 0; //disabled for now, it causes crashes
+ //see http://projects.blender.org/tracker/index.php?func=detail&aid=17819&group_id=9&atid=125
+
tilerect= MEM_mallocN(rectw*recth*sizeof(*tilerect), "tilerect");
for (y=0; y<recth; y++) {