The current line number for the #line directive should be passed in as parameter to the line directive callback. Without it, we don't know how many empty lines we should output.
5 lines
60 B
Text
5 lines
60 B
Text
#version 310 es
|
|
#line 1 2
|
|
#pragma something
|
|
void main(){ }
|
|
|