demos: Hack to get cube working--only 2 swap chain images.
authorIan Elliott <ian@lunarg.com>
Mon, 13 Jul 2015 18:20:56 +0000 (12:20 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 17 Jul 2015 16:05:22 +0000 (10:05 -0600)
commit2d47da9c10ec86be03005ac339562dd0d3562d37
tree26ad65b7f58418fd9932fa73540c4cf2df1e3372
parentc0bb127c15882098b791a4d69dca51cd1cfba21c
demos: Hack to get cube working--only 2 swap chain images.

Other people have hard-coded the number of framebuffers, command buffers,
etc. as being equal to DEMO_BUFFER_COUNT (i.e. 2).  Without reworking all of
that code, this demo won't work.  Go with the flow for the time being, and
hard-code the number of swap chain images as 2.
demos/cube.c