18 lines
410 B
Plaintext
Executable File
18 lines
410 B
Plaintext
Executable File
/// @description d3d - end the primitive stream
|
|
function d3d_primitive_end() {
|
|
|
|
if (global.__d3dPrimKind != -1) {
|
|
|
|
vertex_end( global.__d3dPrimBuffer );
|
|
vertex_submit( global.__d3dPrimBuffer, global.__d3dPrimKind, global.__d3dPrimTex );
|
|
|
|
// mark this as finished
|
|
global.__d3dPrimKind = -1;
|
|
} else {
|
|
show_debug_message( "d3d_primitive_end :: with no d3d_primitive_begin ");
|
|
}
|
|
|
|
|
|
|
|
}
|