Skip to content
Browse files

quick hack for emscripten

  • Loading branch information...
1 parent b3c2575 commit 06a0e4acf9c35f4bd31b8788a8a573cb89262333 @brion committed Oct 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/state.c
View
2 lib/state.c
@@ -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;

0 comments on commit 06a0e4a

Please sign in to comment.
Something went wrong with that request. Please try again.