ports/graphics/rayshade/files/patch-libray__libtext__texture.c
Muhammad Moinur Rahman e3ec54e790 graphics/rayshade: Unbreak with llvm15
- Pet portclippy
- Adopt port
2023-05-18 18:09:11 +02:00

11 lines
306 B
C

--- libray/libtext/texture.c.orig 1992-02-10 03:04:02 UTC
+++ libray/libtext/texture.c
@@ -162,7 +162,7 @@ Float *u, *v;
*u = ptmp.x;
*v = ptmp.y;
if (dpdu == (Vector *)NULL || dpdv == (Vector *)NULL)
- return;
+ return FALSE;
/*
* Here's the ugly part.
* Build initial UVN-->XYZ matrix...