Commit 6668a641 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Get rid of is_template_available.

parent 1b8b6294
......@@ -884,11 +884,6 @@ static WORD check_TOKEN(parse_buffer * buf)
return buf->current_token;
}
static BOOL is_template_available(parse_buffer * buf)
{
return check_TOKEN(buf) == TOKEN_TEMPLATE;
}
static inline BOOL is_primitive_type(WORD token)
{
BOOL ret;
......@@ -1133,7 +1128,7 @@ static BOOL parse_template(parse_buffer * buf)
BOOL parse_templates(parse_buffer * buf)
{
while (buf->rem_bytes && is_template_available(buf))
while (buf->rem_bytes && (check_TOKEN(buf) == TOKEN_TEMPLATE))
{
if (!parse_template(buf))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment