And exhibition of speed is now a class B misdemeanor but it only applies if someone is racing, which is why the court dismissed that ticket. Here is the relevant law, as changed in 2003:
Sec. 545.420. RACING ON HIGHWAY.
(a) A person may not participate in any manner in:
(1) a race;
(2) a vehicle speed competition or contest;
(3) a drag race or acceleration contest;
(4) a test of physical endurance of the operator of a vehicle; or
(5) in connection with a drag race, an exhibition of vehicle speed or acceleration or
to make a vehicle speed record.
(b) In this section:
(1) "Drag race" means the operation of:
(A) two or more vehicles from a point side by side at accelerating speeds in a
competitive attempt to outdistance each other; or
(B) one or more vehicles over a common selected course, from the same place
to the same place, for the purpose of comparing the relative speeds or power
of acceleration of the vehicle or vehicles in a specified distance or time.
(2) "Race" means the use of one or more vehicles in an attempt to:
(A) outgain or outdistance another vehicle or prevent another vehicle from passing;
(B) arrive at a given destination ahead of another vehicle or vehicles; or
(C) test the physical stamina or endurance of an operator over a long-distance
driving route.
(c) [Blank]
(d) Except as provided by Subsections (e)-(h), an offense under Subsection (a) is a
Class B misdemeanor.
(e) An offense under Subsection (a) is a Class A misdemeanor if it is shown on the trial
of the offense that:
(1) the person has previously been convicted one time of an offense under that
subsection; or
(2) the person, at the time of the offense:
(A) was operating the vehicle while intoxicated, as defined by Section 49.01,
Penal Code; or
(B) was in possession of an open container, as defined by Section 49.031,
Penal Code.
(f) An offense under Subsection (a) is a state jail felony if it is shown on the trial of the
offense that the person has previously been convicted two times of an offense
under that subsection.
(g) An offense under Subsection (a) is a felony of the third degree if it is shown on the
trial of the offense that as a result of the offense, an individual suffered bodily injury.
(h) An offense under Subsection (a) is a felony of the second degree if it is shown on
the trial of the offense that as a result of the offense, an individual suffered serious
bodily injury or death.