History

Cosmetics

malc committed 5 years ago

Commit 14f42d41 parent dd26c081 file · +2 −4Browse files

Unified · Split

link.c+2−4
@@ -3570,17 +3570,15 @@ ML (init (value csock_v, value params_v)) · 3569 unmodified lines
3570 int ret, texcount, colorspace, mustoresize;3570 int ret, texcount, colorspace, mustoresize;
3571 const char *fontpath;3571 const char *fontpath;
3572 3572
3573#if TEXT_TYPE == GL_TEXTURE_2D
3574 if (!strstr ((const char *) glGetString (GL_EXTENSIONS),3573 if (!strstr ((const char *) glGetString (GL_EXTENSIONS),
3574#if TEXT_TYPE == GL_TEXTURE_2D
3575 "texture_non_power_of_two")) {3575 "texture_non_power_of_two")) {
3576 errx (1, "OpenGL does not support NPOT textures");3576 errx (1, "OpenGL does not support NPOT textures");
3577 }
3578#else3577#else
3579 if (!strstr ((const char *) glGetString (GL_EXTENSIONS),
3580 "texture_rectangle")) {3578 "texture_rectangle")) {
3581 errx (1, "OpenGL does not support rectangular textures");3579 errx (1, "OpenGL does not support rectangular textures");
3582 }
3583#endif3580#endif
3581 }
3584 state.csock = Int_val (csock_v);3582 state.csock = Int_val (csock_v);
3585 state.rotate = Int_val (Field (params_v, 0));3583 state.rotate = Int_val (Field (params_v, 0));
3586 state.fitmodel = Int_val (Field (params_v, 1));3584 state.fitmodel = Int_val (Field (params_v, 1));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t