~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/frontends/glx/xlib/glx_api.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include "xm_api.h"
42
42
#include "main/errors.h"
43
43
#include "main/config.h"
44
 
#include "pipe/p_compiler.h"
 
44
#include "util/compiler.h"
45
45
#include "util/u_math.h"
46
46
#include "util/u_memory.h"
47
47
 
1176
1176
{
1177
1177
   GLXContext glxCtx = ctx;
1178
1178
   GLXContext current = GetCurrentContext();
1179
 
   static boolean firsttime = 1, no_rast = 0;
 
1179
   static bool firsttime = 1, no_rast = 0;
1180
1180
 
1181
1181
   if (firsttime) {
1182
1182
      no_rast = getenv("SP_NO_RAST") != NULL;
1420
1420
glXSwapBuffers( Display *dpy, GLXDrawable drawable )
1421
1421
{
1422
1422
   XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable );
1423
 
   static boolean firsttime = 1, no_rast = 0;
 
1423
   static bool firsttime = 1, no_rast = 0;
1424
1424
 
1425
1425
   if (firsttime) {
1426
1426
      no_rast = getenv("SP_NO_RAST") != NULL;