Searched refs:surfaceW (Results 1 – 1 of 1) sorted by relevance
209 double surfaceW; in resize() local211 …if (emscripten_get_element_css_size ("#canvas", &surfaceW, &surfaceH) == EMSCRIPTEN_RESULT_SUCCE… in resize()212 emscripten_set_canvas_element_size("#canvas", surfaceW, surfaceH); in resize()214 glViewport(0, 0, (int) surfaceW, (int) surfaceH); in resize()