shithub: tinygl

Download patch

ref: 35469bff3f50f607aa4bd39527fc0a8dbe38a756
parent: df9fa964245e5bc1b014c73dcf81aa931abe8c71
author: MHS <gek@katherine>
date: Tue Mar 16 19:18:12 EDT 2021

Automatic commit.

--- a/src/ztriangle.h
+++ b/src/ztriangle.h
@@ -175,9 +175,10 @@
 //Required reading:
 //http://jakascorner.com/blog/2016/06/omp-data-sharing-attributes.html
 //I'd also like to figure out if the main while() loop over raster lines can be OMP parallelized, but I suspect it isn't worth it.
+	ZBufferPoint *pr1, *pr2, *l1, *l2; //BEGINNING OF LIFETIME FOR ZBUFFERPOINT VARS!!!
 	for (GLint part = 0; part < 2; part++) {
 		GLint nb_lines;
-		{ZBufferPoint *pr1, *pr2, *l1, *l2; //BEGINNING OF LIFETIME FOR ZBUFFERPOINT VARS!!!
+		{
 		register GLint update_left, update_right; //update_left decl
 			if (part == 0) {
 				if (fz > 0) { //Here! (VALUE_FZ_USED)