summaryrefslogtreecommitdiff
path: root/games-puzzle/fbg/files/fbg-0.9-missing-return.patch
blob: 86b0b551957f33e9659b91f6167c70440fe0f1c6 (plain)
1
2
3
4
5
6
7
8
Lack of return leads to segmentation fault on startup.
https://bugs.gentoo.org/815259
--- a/src/glTGAImage.cc
+++ b/src/glTGAImage.cc
@@ -180,2 +180,3 @@
 	glTexImage2D(GL_TEXTURE_2D, 0, type, getWidth(), getHeight(), 0, type, GL_UNSIGNED_BYTE, getImageData());
+	return true;
 }