Skip to content

Commit

Permalink
Change dimensions to 256x256
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugues Evrard committed May 4, 2017
1 parent 96a0072 commit b253396
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions get_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ T *getArray(const json& j) {
return a;
}

#define GLUNIFORM_ARRAYINIT(funcname, uniformloc, gltype, jsonarray) \
gltype *a = getArray<gltype>(jsonarray.size()); \
#define GLUNIFORM_ARRAYINIT(funcname, uniformloc, gltype, jsonarray) \
gltype *a = getArray<gltype>(jsonarray); \
funcname(uniformloc, jsonarray.size(), a); \
delete [] a

Expand Down Expand Up @@ -245,8 +245,8 @@ int main(int argc, char* argv[]) {
EGLContext context = 0;
EGLSurface surface = 0;

const int width = 640;
const int height = 480;
const int width = 256;
const int height = 256;

bool res = init_gl(
width,
Expand Down

0 comments on commit b253396

Please sign in to comment.