Skip to content

Commit 6404ef3

Browse files
committed
Remove unused regoins
1 parent df633f0 commit 6404ef3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

GenericMandelBrotViewer/src/kernel.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ __global__ void color_cuda(
226226
float V = 1;
227227

228228

229-
#pragma region HSV_to_RGB_Conversion
230229
// HSV to RGB conversion, yay!
231230
// TODO: look into edge cases for H and why they happen.
232231
//if (H > 360 || H < 0 || S > 1 || S < 0 || V > 1 || V < 0)
@@ -286,7 +285,6 @@ __global__ void color_cuda(
286285
unsigned char green = (g + m) * 255;
287286
unsigned char blue = (b + m) * 255;
288287
// End of conversion.
289-
#pragma endregion
290288

291289
// Cap RGB values to 255
292290
if (red > 255) { red = 255; }

0 commit comments

Comments
 (0)