ports/graphics/rayshade/files/patch-libray__libtext__texture.c
Pawel Pekala 7f8014b6c1 - Fix build on -current
- Remove leading article from COMMENT
- Support staging

PR:		ports/184236
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-25 18:15:41 +00:00

11 lines
340 B
C

--- libray/libtext/texture.c.orig 1992-02-10 12:04:02.000000000 +0900
+++ libray/libtext/texture.c 2013-05-28 22:41:59.000000000 +0900
@@ -162,7 +162,7 @@
*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...