Changeset 39233 for trunk/Ohana/src/opihi/cmd.data/squash3d.c
- Timestamp:
- Dec 5, 2015, 2:07:56 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/squash3d.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/squash3d.c
r38062 r39233 46 46 int oNx = iNz; 47 47 int oNy = iNy; 48 CreateBuffer (tgt, oNx, oNy, -32, 0.0, 1.0);48 if (!CreateBuffer (tgt, oNx, oNy, -32, 0.0, 1.0)) return FALSE; 49 49 float *oBuf = (float *) tgt[0].matrix.buffer; 50 50 … … 70 70 int oNx = iNx; 71 71 int oNy = iNz; 72 CreateBuffer (tgt, oNx, oNy, -32, 0.0, 1.0);72 if (!CreateBuffer (tgt, oNx, oNy, -32, 0.0, 1.0)) return FALSE; 73 73 float *oBuf = (float *) tgt[0].matrix.buffer; 74 74 … … 94 94 int oNx = iNx; 95 95 int oNy = iNy; 96 CreateBuffer (tgt, oNx, oNy, -32, 0.0, 1.0);96 if (!CreateBuffer (tgt, oNx, oNy, -32, 0.0, 1.0)) return FALSE; 97 97 float *oBuf = (float *) tgt[0].matrix.buffer; 98 98
Note:
See TracChangeset
for help on using the changeset viewer.
