diff options
author | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-24 18:01:08 +0000 |
---|---|---|
committer | mswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-24 18:01:08 +0000 |
commit | 7bb3412a058c1a217fce301105e7699de7e87db5 (patch) | |
tree | 8e18a22b13a073c64662890627d233336a6ddde0 /libvo/vo_dxr3.c | |
parent | eb89d8effe81695fc8524bf0f2bca54fcd27eb27 (diff) |
Fixed bug in Athlon detection code ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5311 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r-- | libvo/vo_dxr3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index 548d20559a..1ea1ad849b 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -515,9 +515,11 @@ static uint32_t preinit(const char *arg) { char devname[80]; int fdflags = O_WRONLY; + CpuCaps cpucaps; + GetCpuCaps(&cpucaps); /* Open the control interface */ - if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) { + if ((arg && !strcmp("noprebuf", arg)) || cpucaps.has3DNowExt) { printf("VO: [dxr3] Disabling prebuffering.\n"); noprebuf = 1; fdflags |= O_NONBLOCK; |