Ver código fonte

glsl/apps: Include missing header, properly escape format strings.

tags/7.8-rc1
Michal Krol 16 anos atrás
pai
commit
e8e3fe15e1

+ 3
- 2
src/glsl/apps/process.c Ver arquivo

@@ -27,6 +27,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"

@@ -235,11 +236,11 @@ main(int argc,
break;

case SL_PP_MODASSIGN:
fprintf(out, "%= ");
fprintf(out, "%%= ");
break;

case SL_PP_MODULO:
fprintf(out, "% ");
fprintf(out, "%% ");
break;

case SL_PP_LSHIFTASSIGN:

+ 1
- 0
src/glsl/apps/purify.c Ver arquivo

@@ -27,6 +27,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../pp/sl_pp_public.h"



+ 3
- 2
src/glsl/apps/tokenise.c Ver arquivo

@@ -27,6 +27,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"

@@ -219,11 +220,11 @@ main(int argc,
break;

case SL_PP_MODASSIGN:
fprintf(out, "%= ");
fprintf(out, "%%= ");
break;

case SL_PP_MODULO:
fprintf(out, "% ");
fprintf(out, "%% ");
break;

case SL_PP_LSHIFTASSIGN:

+ 1
- 0
src/glsl/apps/version.c Ver arquivo

@@ -27,6 +27,7 @@

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../pp/sl_pp_public.h"


Carregando…
Cancelar
Salvar