Change animated apps to double-buffered visuals by default.
This commit is contained in:
parent
b4df56fcd9
commit
ba58a6665f
|
@ -258,7 +258,7 @@ static GLenum Args(int argc, char **argv)
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
rgb = GL_TRUE;
|
rgb = GL_TRUE;
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcmp(argv[i], "-ci") == 0) {
|
if (strcmp(argv[i], "-ci") == 0) {
|
||||||
|
|
|
@ -170,7 +170,7 @@ static GLenum Args(int argc, char **argv)
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
rgb = GL_TRUE;
|
rgb = GL_TRUE;
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcmp(argv[i], "-ci") == 0) {
|
if (strcmp(argv[i], "-ci") == 0) {
|
||||||
|
|
|
@ -321,7 +321,7 @@ GLenum Args(int argc, char **argv)
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
rgb = GL_TRUE;
|
rgb = GL_TRUE;
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcmp(argv[i], "-ci") == 0) {
|
if (strcmp(argv[i], "-ci") == 0) {
|
||||||
|
|
|
@ -326,7 +326,7 @@ static GLenum Args(int argc, char **argv)
|
||||||
{
|
{
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcmp(argv[i], "-sb") == 0) {
|
if (strcmp(argv[i], "-sb") == 0) {
|
||||||
|
|
|
@ -964,7 +964,7 @@ GLenum Args(int argc, char **argv)
|
||||||
{
|
{
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
numComponents = 4;
|
numComponents = 4;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
|
|
|
@ -281,7 +281,7 @@ static GLenum Args(int argc, char **argv)
|
||||||
{
|
{
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcmp(argv[i], "-sb") == 0) {
|
if (strcmp(argv[i], "-sb") == 0) {
|
||||||
|
|
|
@ -285,7 +285,7 @@ static GLenum Args(int argc, char **argv)
|
||||||
{
|
{
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (strcmp(argv[i], "-sb") == 0) {
|
if (strcmp(argv[i], "-sb") == 0) {
|
||||||
|
|
|
@ -515,7 +515,7 @@ static GLenum Args(int argc, char **argv)
|
||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
rgb = GL_TRUE;
|
rgb = GL_TRUE;
|
||||||
doubleBuffer = GL_FALSE;
|
doubleBuffer = GL_TRUE;
|
||||||
frames = 10;
|
frames = 10;
|
||||||
widthX = 10;
|
widthX = 10;
|
||||||
widthY = 10;
|
widthY = 10;
|
||||||
|
|
Loading…
Reference in New Issue