Skip to content

Commit

Permalink
quick hack for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
bvibber committed Oct 6, 2013
1 parent b3c2575 commit 06a0e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/state.c
Expand Up @@ -256,7 +256,7 @@ static void oc_mb_fill_cmapping10(oc_mb_map_plane _mb_map[3],
_mb_map: The macro block map to fill.
_fplanes: The descriptions of the fragment planes.*/
static void oc_mb_fill_cmapping11(oc_mb_map_plane _mb_map[3],
const oc_fragment_plane _fplanes[3]){
const oc_fragment_plane _fplanes[3], int stub0, int stub1){ /* stub0/1 added for incompatible pointer type warning in emscripten */
int k;
for(k=0;k<4;k++){
_mb_map[1][k]=_mb_map[0][k]+_fplanes[1].froffset;
Expand Down

0 comments on commit 06a0e4a

Please sign in to comment.