updated
git-svn-id: svn://anubis/gvsu@315 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
b99939912c
commit
83ae452669
@ -75,13 +75,13 @@ bool createWindow(int width, int height,
|
|||||||
}
|
}
|
||||||
SDL_WM_SetCaption(PROGNAME, PROGNAME);
|
SDL_WM_SetCaption(PROGNAME, PROGNAME);
|
||||||
|
|
||||||
*pixels = (Uint32 *) screen->pixels;
|
*pixels = (Uint32 *) (*screen)->pixels;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void getSizes(int * rank, int * size)
|
void getSizes(int * rank, int * size)
|
||||||
{
|
{
|
||||||
MPI_Comm_rank(rank);
|
MPI_Comm_rank(MPI_COMM_WORLD, rank);
|
||||||
MPI_Comm_size(size, MPI_COMM_WORLD);
|
MPI_Comm_size(MPI_COMM_WORLD, size);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user