You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
322 B
24 lines
322 B
3 years ago
|
/*
|
||
|
* Copyright 2021 Google LLC
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*/
|
||
|
|
||
|
#include "render_common.h"
|
||
|
|
||
|
#include <stdarg.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
void
|
||
|
render_log(const char *fmt, ...)
|
||
|
{
|
||
|
va_list va;
|
||
|
|
||
|
va_start(va, fmt);
|
||
|
|
||
|
fprintf(stderr, "render: ");
|
||
|
vfprintf(stderr, fmt, va);
|
||
|
fprintf(stderr, "\n");
|
||
|
|
||
|
va_end(va);
|
||
|
}
|