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
35703570 int ret, texcount, colorspace, mustoresize;
35713571 const char *fontpath;
35723572
3573−#if TEXT_TYPE == GL_TEXTURE_2D
35743573 if (!strstr ((const char *) glGetString (GL_EXTENSIONS),
3574+#if TEXT_TYPE == GL_TEXTURE_2D
35753575 "texture_non_power_of_two")) {
35763576 errx (1, "OpenGL does not support NPOT textures");
3577− }
35783577 #else
3579− if (!strstr ((const char *) glGetString (GL_EXTENSIONS),
35803578 "texture_rectangle")) {
35813579 errx (1, "OpenGL does not support rectangular textures");
3582− }
35833580 #endif
3581+ }
35843582 state.csock = Int_val (csock_v);
35853583 state.rotate = Int_val (Field (params_v, 0));
35863584 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