Skip to content

Commit ffc4d22

Browse files
committed
Fix GLEW_ variable accessor code generation
1 parent 8d40f50 commit ffc4d22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MANIFEST.SKIP

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ gdm.diff
1616
^MYMETA.*
1717
\.pm\.bak$
1818
\.inc$
19+
~$

utils/generate-XS.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ sub generate_glew_xs {
311311
_done_glewInit++;
312312
}
313313
XS
314-
if ( $glewImpl ) {
314+
if ( $item->{glewtype} eq 'fun' and $glewImpl ) {
315315
$res .= <<XS;
316316
if ( ! $glewImpl ) {
317317
croak("$name not available on this machine");

0 commit comments

Comments
 (0)