| 1 | Description: Fix segfault due to not returning true in AOgpu2::init() |
| 2 | Author: Adrian Bunk <[email protected]> |
| 3 | Bug-Debian: https://bugs.debian.org/921510 |
| 4 | Last-Update: 2019-02-06 |
| 5 | |
| 6 | --- qutemol-0.4.1~cvs20081111.orig/src/ShadowMap.cpp |
| 7 | +++ qutemol-0.4.1~cvs20081111/src/ShadowMap.cpp |
| 8 | @@ -248,6 +248,7 @@ bool ShadowMap::initHalo(){ |
| 9 | bool AOgpu2::init(){ |
| 10 | if (!moltextureCanvas.Test()) return false; |
| 11 | mainCanvas.SetAsOutput(); |
| 12 | + return true; |
| 13 | } |
| 14 | |
| 15 | float myrand(); |